Show HN: RadiaCode – Python Library for RadiaCode-10x Radiation Detectors
6 comments
·February 24, 2025omgJustTest
1. RadiaCode is a repo for running IOT connected detectors from a specific vendor
2. Detectors are judged based on the mass and resolution. The resolutions for each vendor specific variant are at least 50-200% higher than what is possible with 'passable' material. Additionally the spectra shown indicate a very small detector mass, meaning these would not be much more sensitive than GM counters, and possibly less reliable in other metrics.
a. Why are the resolutions for CsI(Tl) 9.5% and not closer to 5%? (in this case, lower is better)
b. Are the sensors calibrated for temperature and other systematics? how long do the calibrations last and to what % of energy resolution?
c. Are the sensor responses linear? The documentation [1] shows that these can be very high error rates (up to 40% for "some isotopes"). Such high error rates makes this hard to see how dependable or useful the device would be.
[1] https://coda.io/d/radiacode-cyberspace_dTtFtorf-v-/Quick-Gui...
cdump0
Thanks for your detailed comment! Just to clarify, I'm not affiliated with RadiaCode; I've simply developed an open-source Python library to interface with their detectors, making it easier to collect, analyze, and visualize data
null
defrost
> Analyze spectra for insightful data interpretation
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).
cdump0
This library is designed to obtain spectrum data from the Radiacode device and manage calibration coefficients for the spectrum. It serves as an interface to the hardware, providing raw and calibrated data, but does not perform advanced spectral analysis itself. The provided examples demonstrate how to use the library for basic data retrieval and calibration.
Any higher-level processing, such as peak identification, stripping ratio adjustments, or NASVD-based spectrum enhancement over time, would need to be implemented on top of this library or using its output in external analysis tools. The data it provides can be integrated into custom pipelines for spectral analysis, environmental monitoring, or historical trend detection, much like the analytical techniques used in past gamma spectral analysis libraries.
null
Hi HN,
I want to show you my project: RadiaCode, a Python library to interface with RadiaCode-10x radiation detectors and spectrometers. With RadiaCode, you can:
- Collect real-time radiation measurements - Analyze spectra for insightful data interpretation - Control device settings via USB or Bluetooth - Explore a web interface example for remote monitoring
It's available on PyPI, open-sourced under the MIT License, and you can find the code with examples on GitHub.