A Multi-Parameter Persistence Algorithm for the Automatic Energy Calibration of Scintillating Radiation Sensors
Abstract
1. Introduction
2. Materials and Methods
- Smoothing window size: Number of neighboring data points averaged to smooth short-term fluctuations.
- Bin aggregation factor: Number of adjacent spectral channels combined into one, reducing spectral resolution and noise.
- Prominence: The minimum vertical distance between the peak and the lowest point to which one must descend to reach a higher peak. It quantifies how much a peak stands out from its surrounding landscape—not just its immediate neighbors—in the context of the whole signal.
- Threshold: The minimum vertical difference between the peak and its immediate neighbors. Unlike prominence, this is a strictly local criterion: it filters out small fluctuations or noise spikes that do not sufficiently rise above their direct surroundings.
- Width: Required minimum width of detected peaks at half-prominence.
- Peak-to-peak distance: Minimum separation allowed between neighboring peaks.
- Smoothing window size: (1 = no smoothing).
- Bin aggregation factor: (1 = no aggregation).
- Prominence: 10 values uniformly spaced from 0.0 to 1.0.
- Threshold: 5 values uniformly spaced from 0.0 to 0.08.
- Width: 7 values uniformly spaced from 1 to 40.
- Distance: 5 values uniformly spaced from 1 to 30.
3. Results
3.1. Synthetic Data Benchmark
- Uniform noise, where each data point was randomly perturbed by an amount between and , with the noise amplitude a varied from 0 to .
- Gaussian noise (additive white Gaussian noise; AWGN), where each data point was perturbed by a value drawn from a Gaussian distribution with mean 0 and standard deviation varied from 0 to .
- Relative mean detection error: For each detected peak, we measured the absolute difference between the predicted channel (detected peak position) and the actual known peak position. This error was normalized relative to the full range of the spectrum to produce a percentage error. We then averaged this error over all three peaks in each spectrum and over all 5000 test spectra for each noise level. Panel (a) displays this averaged error metric, showing how detection accuracy degrades with increasing noise.
- Detection rate (F1 score): To assess how reliably peaks were found, we used a common classification metric known as the F1 score. This metric combines two important aspects into a single value:
- 1.
- Recall: The fraction of actual peaks successfully detected.
- 2.
- Precision: The fraction of detected peaks that corresponded to actual (rather than noise-induced) peaks.
The F1 score is defined as the harmonic mean of recall and precision and reaches its maximum value of 1.0 (100%) when all true peaks are detected correctly without false positives. For instance, an F1 score of 0.98 indicates that overall about 2% of detections were incorrect—either missed true peaks or included spurious noise peaks.Panel (b) of Figure 3 shows the F1 score for varying noise levels and different tolerance values. The relative tolerance refers to how close a detected peak must be to the true peak position to be considered a correct detection, again expressed as a percentage of the full spectral range. Darker blue areas in the heatmaps indicate excellent detection performance (close to 1), whereas lighter (warmer) colors indicate lower reliability.
3.2. Validation on Spectroscopy Data
3.2.1. PI3SO Spectroscopic System
3.2.2. Peak Ranking and Automatic Selection
- For sodium, we set to catch both the main emission peak at 0.511 MeV and a secondary peak at lower energy, attributed to backscattered photons. This peak originates from gamma rays that escape the detector without interacting and are scattered backward (at angles close to 180°) by surrounding materials, and then re-enter the detector with reduced energy (note that this is not the Compton edge, which corresponds to the maximum energy transferred to an electron during a single Compton scattering event).
- For cesium, again recovers the main peak (0.662 MeV) plus a secondary region at lower energy.
- For cobalt, covers the overall complexity of the spectrum well; the two highest energy peaks of those five correspond to the known 1.17 and 1.33 MeV lines.
3.2.3. Calibration Outcomes
3.2.4. Channel-to-Energy Translations
4. Discussion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
LOOCV | Leave-one-out cross-validation |
MPP | Multi-parameter persistence |
LC–MS | Liquid chromatography–mass spectrometry |
GC×GC-TOF MS | 2D gas chromatography with time-of-flight mass spectrometry |
VM-PP | Volumetric multi-parameter persistence |
Appendix A
Appendix A.1. Piecewise Continuity of the Detection Function
Appendix A.2. Connection to Multi-Parameter Persistent Homology
- Straightforward to compute: A grid search (or analogous sampling) across the parameter space directly yields the measure of persistence for each feature.
- Intuitive to interpret: It quantifies how “hard” it is to destroy a feature by shifting the algorithm’s hyperparameters.
- Avoids complexity: Formal MPH approaches may require the identification of complex topological invariants, which can lead to intricate representations of the data and high computational overhead.
References
- Scholkmann, F.; Boss, J.; Wolf, M. An Efficient Algorithm for Automatic Peak Detection in Noisy Periodic and Quasi-Periodic Signals. Algorithms 2012, 5, 588–603. [Google Scholar] [CrossRef]
- Kim, S.; Ouyang, M.; Jeong, J.; Shen, C.; Zhang, X. A New Method of Peak Detection for Analysis of Comprehensive Two-Dimensional GC×GC-TOF Mass Spectrometry Data. Ann. Appl. Stat. 2014, 8, 1209–1231. Available online: https://www.jstor.org/stable/24522093 (accessed on 20 July 2025). [CrossRef] [PubMed]
- Poma, G.E.; Failla, C.R.; Amaducci, S.; Cosentino, L.; Longhitano, F.; Vecchio, G.; Finocchiaro, P. PI3SO: A Spectroscopic γ-Ray Scanner Table for Sort and Segregate Radwaste Analysis. Inventions 2024, 9, 85. [Google Scholar] [CrossRef]
- Bernardini, G.; Definizione Normativa e Classificazione dei Rifiuti Radioattivi. Cammino Diritto, 22 October 2022. Available online: https://rivista.camminodiritto.it/public/pdfarticoli/8838_10-2022.pdf (accessed on 22 October 2022).
- IAEA. Classification of Radioactive Waste; IAEA Safety Standards Series No. GSG-1; IAEA: Vienna, Austria, 2009. [Google Scholar]
- Guo, T.; Zhang, T.; Lim, E.; López-Benítez, M.; Ma, F.; Yu, L. A Review of Wavelet Analysis and Its Applications: Challenges and Opportunities. IEEE Access 2022, 10, 58869–58903. [Google Scholar] [CrossRef]
- Melnikov, A.D.; Tsentalovich, Y.P.; Yanshole, V.V. Deep Learning for the Precise Peak Detection in High-Resolution LC–MS Data. Anal. Chem. 2020, 92, 588–592. [Google Scholar] [CrossRef] [PubMed]
- Zhang, J.; Gonzalez, E.; Hestilow, T.; Haskins, W.; Huang, Y. Review of Peak Detection Algorithms in Liquid-Chromatography–Mass Spectrometry. Curr. Genom. 2009, 10, 388–401. [Google Scholar] [CrossRef] [PubMed]
- Kilgour, D.P.A.; Hughes, S.; Kilgour, S.L.; Mackay, C.L.; Palmblad, M.; Tran, B.Q.; Goo, Y.A.; Ernst, R.K.; Clarke, D.J.; Goodlett, D.R. Autopiquer—A Robust and Reliable Peak Detection Algorithm for Mass Spectrometry. J. Am. Soc. Mass Spectrom. 2017, 28, 253–262. [Google Scholar] [CrossRef] [PubMed]
- Ghrist, R. Barcodes: The Persistent Topology of Data. Bull. Am. Math. Soc. 2008, 45, 61–75. [Google Scholar] [CrossRef]
- Carlsson, G.; Carlsson, A. The Theory of Multidimensional Persistence. Discret. Comput. Geom. 2009, 42, 71–93. [Google Scholar] [CrossRef]
- Lesnick, M.; Wright, M. Interactive Visualization of 2-D Persistence Modules. arXiv 2015. [Google Scholar] [CrossRef]
- Botnan, M.B.; Lesnick, M. An Introduction to Multiparameter Persistence. arXiv 2022, arXiv:2203.14289. [Google Scholar] [CrossRef]
- Demo code for the Volumetric Multi-Parameter Persistence. Available online: https://github.com/gullo97/Volumetric-MPP (accessed on 20 July 2025).
- Rossi, F.; Cosentino, L.; Longhitano, F.; Minutoli, S.; Musico, P.; Osipenko, M.; Poma, G.E.; Ripani, M.; Finocchiaro, P. The Gamma and Neutron Sensor System for Rapid Dose Rate Mapping in the CLEANDEM Project. Sensors 2023, 23, 4210. [Google Scholar] [CrossRef] [PubMed]
- Longhitano, F.; Poma, G.E.; Cosentino, L.; Finocchiaro, P. A Scintillator Array Table with Spectroscopic Features. Sensors 2022, 22, 4754. [Google Scholar] [CrossRef] [PubMed]
- Hamamatsu Photonics. MPPC S14160-6050HS. Available online: https://www.hamamatsu.com/eu/en/product/optical-sensors/mppc/mppc_mppc-array/S14160-6050HS.html (accessed on 20 July 2025).
- CAEN Digitizer VX2745. Available online: https://www.caen.it/products/vx2745/ (accessed on 31 May 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ferranti, G.; Failla, C.R.; Finocchiaro, P.; Pluchino, A.; Rapisarda, A.; Tudisco, S.; Vecchio, G. A Multi-Parameter Persistence Algorithm for the Automatic Energy Calibration of Scintillating Radiation Sensors. Sensors 2025, 25, 4579. https://doi.org/10.3390/s25154579
Ferranti G, Failla CR, Finocchiaro P, Pluchino A, Rapisarda A, Tudisco S, Vecchio G. A Multi-Parameter Persistence Algorithm for the Automatic Energy Calibration of Scintillating Radiation Sensors. Sensors. 2025; 25(15):4579. https://doi.org/10.3390/s25154579
Chicago/Turabian StyleFerranti, Guglielmo, Chiara Rita Failla, Paolo Finocchiaro, Alessandro Pluchino, Andrea Rapisarda, Salvatore Tudisco, and Gianfranco Vecchio. 2025. "A Multi-Parameter Persistence Algorithm for the Automatic Energy Calibration of Scintillating Radiation Sensors" Sensors 25, no. 15: 4579. https://doi.org/10.3390/s25154579
APA StyleFerranti, G., Failla, C. R., Finocchiaro, P., Pluchino, A., Rapisarda, A., Tudisco, S., & Vecchio, G. (2025). A Multi-Parameter Persistence Algorithm for the Automatic Energy Calibration of Scintillating Radiation Sensors. Sensors, 25(15), 4579. https://doi.org/10.3390/s25154579