Skip to content

MichaelHeines/DetectorEfficiency

Repository files navigation

This code is made for the fitting of photon detection efficiency as a function of energy.

Some utility functions are available in fitUtility.py, plotUtility.py, and traceUtility.py

Besides that, two notebooks are included:

  • paper_notebook.ipynb was used to perform the investigations in [1]
  • efficiency_fitting.ipynb provides an easy to use example for basic efficiency fitting

Before running: Since pymc and arviz occasionally have some issues during installation, an environment yml file is added. This file can be interpreted by anaconda or miniconda to create an environment in which the code should run.

Create directory "traces" and "images" to drop output files

For citing this work, please use [1]

[1] Heines, Michael, Joris De Ridder, and Thomas E. Cocolios. "New best practices for efficiency fitting for accurate gamma-ray spectroscopy with semi-conductor detectors." Applied Radiation and Isotopes (2025): 112002.

About

Code for the fitting of semiconductor detector efficiency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors