I can't see much in the way of code to do that.
How can I calibrate for and lock onto the K-U-Th peaks.
Where do the stripping ratios go?
Can I generate a NASVD kernel over time and landscape an enhanced sharpened spectrum run over time to clearly see changes from radon gases rolling in, new decay products from (say) a waste catchment breaching and leeching closer to my location.
We had that in gamma spectral analysis libraries in the 1980s and 1990s.
eg: Grasty & Minty (1995) https://www.ga.gov.au/bigobj/GA7667.pdf covers a lot of the basics for setup, calibration and aquisition. (There are other tomes for analysis).