Overview#

hklpy2 provides ophyd diffractometer devices. Each diffractometer is a positioner which may be used with bluesky plans.

Any diffractometer may be provisioned with simulated axes; motors from an EPICS control system are not required to use hklpy2.

Built from DiffractometerBase(), each diffractometer is an ophyd.PseudoPositioner that defines all the components of a diffractometer. The diffractometer geometry defines the names and order for the real motor axes. Geometries are defined by backend Solvers. Some solvers support different calculation engines (other than \(hkl\)). It is common for a geometry to support several operating modes.