tcal - fast temperature calibration
tcal performs fast temperature calibration using the thermal expansions of silver or platinum in use at
BM01 beamline. The output curve of tcal can be uploaded into Pylatus to
set already calibrated temperatures for eurotherm controllers.
tcal finds positions of diffraction peaks to determine the lattice parameter of the material,
and compares this to the value at room temperature, i.e. 0 power through the heating device in use
(the calibration value is assumed to be equal to the measured temperature at this point). a0 of the
calibrant is refined against the room temperature value, or it can be fixed if desired.
tcal reads file headers in the .cbf images to find the wavelength if available,
otherwise it can be entered as an argument.
Typical usage
tcal -c Pt > calibr.dat
Then Pt is used as calibrant and the output will be stored in calibr.dat.