MX-CALIBRATE(1)
β¨ MX-CALIBRATE(1) β User Commands π
β¨ NAME β¨
MX-Calibrate is the tool that calibrates the distance of a detector from a set of powder diffraction patterns π
β¨ SYNOPSIS β¨
MX-Calibrate -w 1.54 -c CeO2 file1.cbf file2.cbf ...
β¨ DESCRIPTION β¨
okay so bestie, this is the usage line π
usage: MX-Calibrate -w 1.54 -c CeO2 file1.cbf file2.cbf ...
It automatically calibrates a whole batch of frames that were taken at different sample-detector distances π¦ Then it hands you back the linear regression of the fit as a function of that sample-detector distance. Literally so iconic π₯
β¨ positional arguments β¨
FILEβ the list of files you want to calibrate π
β¨ options β¨
-h,--helpβ shows the help message and exits π«Ά-V,--versionβ shows the program's version number and exits πΈ-v,--verboseβ flips on debug/verbose mode so you can see everything β¨-c FILE,--calibrant FILEβ the file with the d-spacing of your calibrant reference sample. This one is MANDATORY π-w WAVELENGTH,--wavelength WAVELENGTHβ the wavelength of the X-Ray beam, in Angstrom π-e ENERGY,--energy ENERGYβ the energy of the X-Ray beam, in keV. The constant in use ishc=12.398419843320026keV.Aπ₯-P POLARIZATION_FACTOR,--polarization POLARIZATION_FACTORβ the polarization factor, going from -1 (vertical) to +1 (horizontal). The default is 0, and synchrotrons sit around 0.95 β-b BACKGROUND,--background BACKGROUNDβ automatic background subtraction happens if you don't give it a value π§-d DARK,--dark DARKβ a list of dark images that get averaged and then subtracted π-f FLAT,--flat FLATβ a list of flat images that get averaged and then divided π-s SPLINE,--spline SPLINEβ the spline file that describes the detector distortion π¦-p PIXEL,--pixel PIXELβ the size of the pixel, in micron π-D DETECTOR_NAME,--detector DETECTOR_NAMEβ the detector name, which you use instead of pixel size + spline π-m MASK,--mask MASKβ the file containing the mask, used for image reconstruction π«§--filter FILTERβ picks the filter:mean(the default),maxormedianπ--saturation SATURATIONβ any pixel wherepixel>max*(1-saturation)gets treated as saturated and reconstructed π₯-r MAX_RINGS,--ring MAX_RINGSβ the maximum number of rings to extract π--weightedβ weights the fit by intensity β¨-l DISTANCE,--distance DISTANCEβ the sample-detector distance, in millimeter π--tiltβ lets the initial detector tilt get refined (rot1, rot2, rot3). Default: Activated π¦--no-tiltβ turns off tilt refinement and sets all the rotations to 0 π--dist DISTβ the sample-detector distance, but in meter this time π--poni1 PONI1β the poni1 coordinate, in meter πΈ--poni2 PONI2β the poni2 coordinate, in meter πΈ--rot1 ROT1β rot1, in radians π--rot2 ROT2β rot2, in radians π--rot3 ROT3β rot3, in radians π--fix-distβ locks the distance parameter in place π--free-distβ unlocks the distance parameter π--fix-poni1β locks the poni1 parameter π--free-poni1β unlocks the poni1 parameter π--fix-poni2β locks the poni2 parameter π--free-poni2β unlocks the poni2 parameter π--fix-rot1β locks the rot1 parameter π--free-rot1β unlocks the rot1 parameter π--fix-rot2β locks the rot2 parameter π--free-rot2β unlocks the rot2 parameter π--fix-rot3β locks the rot3 parameter π--free-rot3β unlocks the rot3 parameter π--fix-wavelengthβ locks the wavelength parameter π--free-wavelengthβ unlocks the wavelength parameter π--no-guiβ forces the program to run without a Graphical interface π--guiβ forces the program to run with a Graphical interface πΌοΈ--no-interactiveβ forces the program to run and exit without prompting you for refinements π€--interactiveβ forces the program to prompt you for refinements π¬--peak-picker PEAKPICKERβ uses themassif,bloborwatershedpeak-picker algorithm. The default isblobβ°οΈ
This tool was built for ESRF MX-beamlines, where an acceptable calibration is usually already sitting in the header of the image. PyFAI reads that header and runs a "recalib" on each frame before exporting a linear regression of all the parameters versus this distance. Dramatic? Yes. Necessary? Also yes π
Bye bestie π«Ά this page is from pyFAI versi..., February 2023, and you're officially a calibration pro now π β¨ MX-CALIBRATE(1) π
π¦ where this page comes from
- debian bookworm: pyfai 0.21.3+dfsg1-4 Β· MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms