Easily calculate the full-energy peak (FEP) efficiency of the CeBr3 Array (CeBrA) with this app.
Make sure you are using the latest version of stable Rust by running rustup update
. Rust is very easy to install on any computer. First, you'll need to install the Rust toolchain (compiler, cargo, etc.). Go to the Rust website and follow the instructions there.
cargo run --release
On Linux, you need to first run:
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev
On Fedora Rawhide, you need to run:
dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel
A previous measurment (from the REU in 2023 with 5 CeBr3 detectors) button is located on the top panel when running locally. This button loads the file at etc/REU_2023.yaml.
The application can be run online here. Files can be saved (downloaded) and re-loaded back in... straight from the web! For an example, download the file in the etc direction (REU_2023.yaml).
The UI is pretty self explanatory, so I am not going to write a lot about it.
To change the marker shape, color, and line traits, right click on the plot!
I am using the crate Varpro to do single and double exponential fitting. Make sure to give the initial values of the non-linear parameters in the bottom panel.
I calculate the uncertainity bands the same way pythons lmfit package does.
Before you can calculate the full-energy peak (FEP) efficiency of CeBrA, you need to have a calibrated
Activity of Source (Radioactive Decay Law)
Now that we have the activity of the source on the day of the measurement, we need to find the
Number of
The number of counts detected will then correspond to a Gaussian peak fitted onto the peak of interest (
Efficiency