ad-hoc-diffractometer