PyRIID is a Python package providing modeling and data synthesis utilities for machine learning-based research and development of radioisotope-related detection, identification, and quantification.
Installation
Requirements:
- Python version: 3.8 to 3.10
- Operating systems: Windows, Mac, or Ubuntu
A virtual environment is recommended.
Tests and examples are run via Actions on many combinations of Python version and operating system. You can verify support for your platform by checking the workflow files.
For Use
To use the latest version on PyPI (note: changes are slower to appear here), run:
pip install riid
For the latest features, run:
pip install git+https://github.com/sandialabs/pyriid.git@main
For Development
If you are developing PyRIID, clone this repository and run:
pip install -e ".[dev]"
Examples
Examples for how to use this package can be found here.
Tests
Unit tests for this package can be found here.
Run all unit tests with the following:
python -m unittest tests/*.py -v
You can also run one of the run_tests.* scripts, whichever is appropriate for your platform.
Docs
API documentation can be found here.
Docs can be built locally with the following:
pip install -r pdoc/requirements.txt
pdoc riid -o docs/ --html --template-dir pdoc
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate and adhere to our code of conduct.
Contacts
Maintainers and authors can be found here.
Copyright
Full copyright details can be found here.
Acknowledgements
Thank you to the U.S. Department of Energy, National Nuclear Security Administration,
Office of Defense Nuclear Nonproliferation Research and Development (DNN R&D) for funding that has led to version 2.x.
Additionally, thank you to the following individuals who have provided invaluable subject-matter expertise:
- Paul Thelen (also an author)
- Ben Maestas
- Greg Thoreson
- Michael Enghauser
- Elliott Leonard
Citing
When citing PyRIID, please reference the U.S. Department of Energy Office of Science and Technology Information (OSTI) record here: 10.11578/dc.20221017.2
Related Reports, Publications, and Projects
- Alan Van Omen, "A Semi-Supervised Model for Multi-Label Radioisotope Classification and Out-of-Distribution Detection." Diss. 2023. doi: 10.7302/7200.
- Tyler Morrow, "Questionnaire for Radioisotope Identification and Estimation from Gamma Spectra using PyRIID v2." United States: N. p., 2023. Web. doi: 10.2172/2229893.
- Aaron Fjeldsted, Tyler Morrow, and Douglas Wolfe, "Identifying Signal-to-Noise Ratios Representative of Gamma Detector Response in Realistic Scenarios," 2023 IEEE Nuclear Science Symposium, Medical Imaging Conference and International Symposium on Room-Temperature Semiconductor Detectors (NSS MIC RTSD), Vancouver, BC, Canada, 2023. doi: 10.1109/NSSMICRTSD49126.2023.10337860.
- Alan Van Omen and Tyler Morrow, "A Semi-supervised Learning Method to Produce Explainable Radioisotope Proportion Estimates for NaI-based Synthetic and Measured Gamma Spectra." United States: N. p., 2024. Web. doi: 10.2172/2335904.
- Alan Van Omen and Tyler Morrow, "Controlling Radioisotope Proportions When Randomly Sampling from Dirichlet Distributions in PyRIID." United States: N. p., 2024. Web. doi: 10.2172/2335905.
- Alan Van Omen, Tyler Morrow, et al., "Multilabel Proportion Prediction and Out-of-distribution Detection on Gamma Spectra of Short-lived Fission Products." Annals of Nuclear Energy 208 (2024): 110777. doi: 10.1016/j.anucene.2024.110777.
- Aaron Fjeldsted, Tyler Morrow, et al., "A Novel Methodology for Gamma-Ray Spectra Dataset Procurement over Varying Standoff Distances and Source Activities," Nuclear Instruments and Methods in Physics Research Section A (2024): 169681. doi: 10.1016/j.nima.2024.169681.
Metadata
Release files for riid 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| riid-2.1.0.tar.gz | 89.7 kB | Without provenance | Details for riid-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| riid-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for riid-2.1.0-py3-none-any.whl |
Total release size: 190.6 kB
Release files / riid-2.1.0.tar.gz
| Download URL | riid-2.1.0.tar.gz |
|---|---|
| Size | 89.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dbecc40130ba878535de4088c8adf9d973f26c99578b71498a0044d334251aa
|
|
BLAKE2b-256 checksum How to use checksums |
4a138fb3161fd37da85cb007a0596ccd1bc5967c4793a1537ea9bca2e309c344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / riid-2.1.0-py3-none-any.whl
| Download URL | riid-2.1.0-py3-none-any.whl |
|---|---|
| Size | 101.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
223a44e1f0546601524aff736d46f7c6a554daf1c4d2ed4d96f7aefda0b4ce72
|
|
BLAKE2b-256 checksum How to use checksums |
1f5e60259de802c9bff5ba94c12de0b2a6fd273f6208ede76c1c8a57a6b4873c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for riid 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.