For example to calibrate the position and width of peaks in a spectrum in buffer 0 in keV where the energy for channel 0 is 17 keV, you set the startchannel to 17, the unit to keV and perform the calibrations as shown below.
tv calibration startchannel enter 17
tv calibration unit enter keV
tv calibration position enter 1204 1197 1579 1563
tv calibration width enter 1213 4.26 1258 4.63
TV prints the parameters for the position calibration with the command:
tv calibration position list 0
and for the width calibration with the command:
tv calibration width list 0
You can list the results for the complete set of calibrations at once with the command:
tv calibration set list 0
You can save the energy calibration to a file with standard filename according to the wildcard definition *cal or another file you have to enter with the command
tv calibration position write
and load from file *cal or any other file by pressing hotkey E or by entering the full command:
tv calibration position read
You can copy the calibration to spectra in other buffers with
tv cali position copy src ind {{ind... } acti all show visi}
All calibrations entered or read are copied to all buffers
automatically. For the syntax of all calibration commands see section
6.2 on page .