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.0.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.0.tar.gz.
File metadata
- Download URL: nsdf_dark_matter-0.3.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fc7c67a8009023817fec801181a1a514c0b505893517eaad1ec2b1faee99174
|
|
| MD5 |
dda38fc261d0f083fcd3923c22f33163
|
|
| BLAKE2b-256 |
6eca7219b492fc72dcdd8e60f9857ef0a21335f7d0c19ff09a911ed5eb5a3331
|
File details
Details for the file nsdf_dark_matter-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nsdf_dark_matter-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0c666d21898eb151e93b558c545ea145c343561ea1a44e70dc3611ffc733b74
|
|
| MD5 |
4dc678fdb675b5b12fb648e4bb1a5b0b
|
|
| BLAKE2b-256 |
cfae9f8ffdd3ce0c327122aec86b570a1814522ecfb9a6d32b5e84bf5f6fa168
|