A GUI for gamma spectroscopy using a PicoScope
Introduction
This is a data acquisition app for gamma spectroscopy. The Qt app requires a 5000-series PicoScope (e.g. the 5242D) for data acquisition.
Gamma spectroscopy of nuclear sources is commonly performed using either custom hardware (somewhat cheaper, easier to use, but less versatile) or modular hardware like NIM-crates (more expensive, harder to use, but more versatile). For the undergraduate physics lab at the Vrije Universiteit Amsterdam and the University of Amsterdam we require the versatility of modular hardware, but would like the ease-of-use of custom solutions. This way, students can focus on their research instead of working through a bunch of manuals.
Typically, a gamma detector (e.g. a NaI-scintillator/PMT or HPGe-detector) is connected to an amplifier which is connected to a multi-channel analyzer (MCA). Proprietary software must be used to read out the MCA. For more elaborate setups, a single-channel analyzer or pulse shaper is added to the mix. This can easily result in a time-consuming quest to find the cause of a very common situation: "it doesn't work."
We've decided to replace all NIM modules with a single PicoScope device. This is a digital oscilloscope which is connected over USB to a PC or laptop. Using the SDK it is easy to interface with the device and to write custom software for use by our students.
Screenshot of the GUI showing a plot of the gamma spectrum of a nuclear source (sodium-22, black line). Another detector at the opposite side of the source picks up coincident annihilation radiation gammas.
Installation
You need to install the PicoSDK for your platform before you can use this application. You need to select your oscilloscope before it shows the download link.
You can install the application using pip in any Python environment, but the recommended way to install gamma-spectroscopy is using uv:
uv tool install gamma-spectroscopy
The gamma-spectroscopy utility is available from the terminal. You can also run the tool without installing with:
uvx gamma-spectroscopy
This has the benefit that you're always using the latest version. To run the development version directly from GitHub, run:
uvx git+https://github.com/davidfokkema/gamma-spectroscopy
Metadata
Release files for gamma-spectroscopy 1.2.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 |
|---|---|---|---|---|
| gamma_spectroscopy-1.2.0.tar.gz | 18.1 kB | Without provenance | Details for gamma_spectroscopy-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gamma_spectroscopy-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for gamma_spectroscopy-1.2.0-py3-none-any.whl |
Total release size: 37.8 kB
Release files / gamma_spectroscopy-1.2.0.tar.gz
| Download URL | gamma_spectroscopy-1.2.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f5d77299d4deafbbd9a79dafa2b8aa10a19a8190fcef7a9cda80ff880031345
|
|
BLAKE2b-256 checksum How to use checksums |
14f19756fa1e749138fc0afb48e6695bfa96b27768755b3e8a90ef6bd32f179b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / gamma_spectroscopy-1.2.0-py3-none-any.whl
| Download URL | gamma_spectroscopy-1.2.0-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f928d817194996a7b05368221fd5c04adc26869bdf0293a4686c095c195c62b2
|
|
BLAKE2b-256 checksum How to use checksums |
86b9aac28953510a0f997f95894064017763595936fdbc480c75fffbffa6f7cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for gamma-spectroscopy 1.2.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.