diffcalc
diffcalc copied to clipboard
Diffcalc: a diffraction condition calculator for X-ray or neutron diffractometer control
Yield tests were removed in pytest 4. Convert to parameterized.
Changes to the loaded ub calculation are saved automatically. The `saveubas` command is therefor confusing. `copyub` with one arg would copy the currently load ubcalc, and with two names, or...
Where an axis (e.g. gamma) may be fixed by a constraint an _con Scannable is created rather than an Scannable in order to avoid a namespace clash with that axis'...
Example use case: warn a user if the settings calculated for an hkl value would result in -ve angle of incidence.