User Guide#
Tutorials#
Build a four-circle diffractometer step by step — without a factory function — and run your first forward calculation.
How-to Guides#
Step-by-step guides: set wavelength, define a lattice, orient a crystal, solve the forward problem, switch modes, plan trajectories, and align a crystal end-to-end.
Reference#
Eulerian (4, 5, and 6 circle) · Kappa (4 and 6 circle) · Surface and special-purpose
Complete auto-generated reference for every public class, function, and constant.
Alphabetised definitions of key terms.
All literature citations — geometry papers, physical constants, and numerical methods.
Explanation#
Coordinate conventions, axis sign convention, B/U/UB matrices, diffraction modes, and the ψ angle.
Vector mathematics and lattice vector conventions in crystallography.
The diffractometer problem that started this project.
How a basis vector assignment leads to the B, U, and UB matrices, with a worked example using the You (1999) convention.