ad_hoc_diffractometer is a Python package that lets you describe any
multi-circle diffractometer geometry and perform X-ray/neutron
crystallography calculations.
See the Quick Start guide for a step-by-step walkthrough building an Eulerian four-circle geometry — choosing a coordinate basis, stage stacking, diffraction mode definition(s), and running a forward calculation. Common geometries are provided as examples.