-
Notifications
You must be signed in to change notification settings - Fork 2
Energy Calibration in 30 seconds
Jan Mayer edited this page Aug 29, 2013
·
2 revisions
In combination with the HDTV project, you can easily calibrate your detector within 30 seconds.
First, load your spectrum (see example files):
hdtv> spectrum get B0-Ra226.spc
Loaded B0-Ra226.spc into 0
You can use the build-in peakfinder for energy calibration purposses. This is not recommended for efficiency calibration, as the automated peakfinder might get bad results for peak areas (manually fit and add your peaks using +F). Depending on your spectrum you might need to change the values.
hdtv> fit peakfind 1500 25000 -a --sigma=17 --threshold=0.002
Found 48 peaks
Write the fits to file:
hdtv> fit write B0-Ra226.xml
Saving fits of spectrum 0 to B0-Ra226b.xml
Now use the radiation CLI to calibrate. First, make sure the output seems reasonable:
$> radiation calibrate Ra-226 B0-Ra226.xml
0.3433237334509916
0.1002188156265297
Finally, write the output to a file.
$> radiation calibrate Ra-226 B0-Ra226.xml > B0.cal