A program for gamma-ray spectroscopy or similar data analysis. Uses GTK for the user interface. Things should mostly work (I'm using this to analyze real data), but results are not guaranteed and all the typical disclaimers apply (ie. there's no warranty).
A list of features is here.
This program has been tested on CentOS 7, Ubuntu 18.04/20.04, and Arch Linux (as of June 2023) under the GNOME and KDE desktop environments. It should work on any Linux distro that satisfies the listed build dependencies. It may be possible to build this on other platforms where GTK is available, but that hasn't been tested.
- make
- gcc
- pkg-config
- GTK3
In CentOS 7:
yum install gcc gtk3-devel
In Ubuntu:
apt install build-essential libgtk-3-dev
In Arch Linux:
pacman -S gcc make pkgconf gtk3
A Makefile is provided, build the program using:
make -j
The resulting specfitter
executable can be run directly from the command line or your file manager. Optionally, the program can be installed for all users with:
sudo make install
This will place the specfitter
binary in /usr/bin
, a data-type definition file in /usr/share/mime/packages
(to allow opening compatible files directly from the file manager), and a desktop entry file in /usr/share/applications
(for desktop environment integration). These changes can be undone with:
sudo make uninstall
- Preferences are stored in a plaintext configuration file on a per-user basis at
$XDG_CONFIG_HOME/specfitter/specfitter.conf
(usually~/.config/specfitter/specfitter.conf
). - When running the program from the command line, it is possible to automatically open files by specifying the filename(s) as arguments (eg.
specfitter /path/to/file1 /path/to/file2
).
The peak fitter is based on RadWare code by David C. Radford with some modifications. The RadWare source code can be obtained from this repository.