Software OpenGammaSpec
Posted: 16 Mar 2026, 20:30
My name is Christian Bechmann. I am a geologist and have been writing a program for evaluating gamma spectra for several years. You can find it on SourceForge.net -> OpenGammaSpec. It is not yet complete (and perhaps never will be). The program is licensed under the GPL, the source code is fully included, and I regularly publish updates. I develop it on Linux, but Windows and Raspberry Pi OS are also supported; however, the Linux version is always the most up-to-date. The focus is on the analysis of natural and processed natural samples, but artificial radionuclides are also supported.
We used gamma spectroscopy to detect the proportion of heavy minerals online during the gravimetric processing of fine sands. The primary focus was on rare earth minerals, which always contain a certain amount of radionuclides.
Some Tips for the first start of OpenGammaSpec.
Download the compressed file (Gamma.tar.bz2 for Linux, Gamma.zip for Windows or from the Folder RaspberryPi the file Gamma.tar.bz2 for Raspberry Pi 4B). Download the doc folder too, there you will find some useful HowTo’s.
Then extract the compressed file in your home folder. Now you have a folder ‘Gamma’. Depending from your OS you have an executable file included.
Create a Folder ‘Report_Gamma’ in your Documents folder (or wherever you wont) for report data.
The program uses an init.csv to find the necessary path names. This file looks like this:
Unit element value
main UserDir /home/christian/
main HomeDir /home/christian/Gamma
main HelpDir /home/christian/Gamma/HTML_doc
main HelpURL file:///home/christian/Gamma/HTML_doc
main SpectrumDir /home/christian/Gamma/all_rawfiles
main SampleDir /home/christian/Gamma
main NuclidDir /home/christian/Gamma
main RawDataDir /home/christian/Gamma/all_rawfiles
main ReportDir /home/christian/Dokumente/Report_Gamma
…
and the path names are of course wrong. At the first start the program try to correct the entry's, but there is an other easy way to correct:
If your user name is ‘steven’ then replace ‘christian’ by ‘steven’ and save this file. Don’t forget the path of the report directory.
Now you can start the program the program by double-click to the executable file. For Linux users: If you create a starter, use the file startGamma.sh but first make it executable.
We used gamma spectroscopy to detect the proportion of heavy minerals online during the gravimetric processing of fine sands. The primary focus was on rare earth minerals, which always contain a certain amount of radionuclides.
Some Tips for the first start of OpenGammaSpec.
Download the compressed file (Gamma.tar.bz2 for Linux, Gamma.zip for Windows or from the Folder RaspberryPi the file Gamma.tar.bz2 for Raspberry Pi 4B). Download the doc folder too, there you will find some useful HowTo’s.
Then extract the compressed file in your home folder. Now you have a folder ‘Gamma’. Depending from your OS you have an executable file included.
Create a Folder ‘Report_Gamma’ in your Documents folder (or wherever you wont) for report data.
The program uses an init.csv to find the necessary path names. This file looks like this:
Unit element value
main UserDir /home/christian/
main HomeDir /home/christian/Gamma
main HelpDir /home/christian/Gamma/HTML_doc
main HelpURL file:///home/christian/Gamma/HTML_doc
main SpectrumDir /home/christian/Gamma/all_rawfiles
main SampleDir /home/christian/Gamma
main NuclidDir /home/christian/Gamma
main RawDataDir /home/christian/Gamma/all_rawfiles
main ReportDir /home/christian/Dokumente/Report_Gamma
…
and the path names are of course wrong. At the first start the program try to correct the entry's, but there is an other easy way to correct:
If your user name is ‘steven’ then replace ‘christian’ by ‘steven’ and save this file. Don’t forget the path of the report directory.
Now you can start the program the program by double-click to the executable file. For Linux users: If you create a starter, use the file startGamma.sh but first make it executable.