Purpose. Detector pixels must be mapped to scattering vector q before integrated curves are physically meaningful. A calibrant (typically silver behenate, AgBh) produces known Bragg rings; geometry is refined so that those rings sit at the correct radii for the stated wavelength.
What autosaxs does (custom). Calibration does not start from a hand-picked beam center. The custom ring pipeline:
refine3) and writes a
reusable integrator under calibration/.What you should set. Wavelength (Å), calibrant name, and a sensible mask. Distance guess is optional — the ring-based estimate usually suffices. A bad mask or wrong wavelength will refine to a plausible-looking but wrong q scale.
Engines. Custom ring finding + pyFAI geometry refinement.