Library for reading and processing dark matter data in IDX format
Project description
NSDF Dark Matter Library
The nsdf_dark_matter library offers a pool of operations to manipulate dark matter data. The R76 dataset can be processed with the library.
Check out the library guide for a step by step walkthrough.
Library Usage Example
from nsdf_dark_matter.idx import CDMS, load_all_data
# Loading the data from a valid idx structure
cdms = load_all_data('path/to/idx/dir')
# fetching all event ids
event_ids = cdms.get_event_ids()
# fetching the metadata for an event id
metadata = cdms.get_event_metadata("10000")
# or by referencing an event id from event ids
metadata = cdms.get_event_metadata(event_ids[0])
# fetching all detector ids
detector_ids = cdms.get_detector_ids()
# fetching channels associated with a detector id
channels = cdms.get_detector_channels("10000_0_Phonon_4096")
# or by referencing a detector id from detector ids
channels = cdms.get_detector_channels(detector_ids[0])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nsdf_dark_matter-0.3.1.tar.gz
(23.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nsdf_dark_matter-0.3.1.tar.gz.
File metadata
- Download URL: nsdf_dark_matter-0.3.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad9f9960b7183766e460fb32e32c2d27dc3974a929d5448dee2fe674591d2f27
|
|
| MD5 |
e0d9ab144078920b43b9a7286492835c
|
|
| BLAKE2b-256 |
78b278ff3b3fe8ad4c898e42f13a7bc865d7087dd3fabcfb5518e8f399ed4bc0
|
File details
Details for the file nsdf_dark_matter-0.3.1-py3-none-any.whl.
File metadata
- Download URL: nsdf_dark_matter-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93701df86a46c5f32dbaedaed09846a6dd37e3359da4578b0574b1cc2e4105e4
|
|
| MD5 |
002025ed21cce968b4aa76be7264848d
|
|
| BLAKE2b-256 |
08d7dc5acbbade226b3a15dfd2732084752a6251660b538c5378fb8b1ea63fbc
|