Skip to main content

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


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.2.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsdf_dark_matter-0.2.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file nsdf_dark_matter-0.2.0.tar.gz.

File metadata

  • Download URL: nsdf_dark_matter-0.2.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.13

File hashes

Hashes for nsdf_dark_matter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 92474ccb740e9b26b4645610750d81c4f8a52b84d55584cf47290a1bc427ca97
MD5 9d28e2721b86e27ecf4027b4f4cc2165
BLAKE2b-256 aa8832f80f1fed5c95ffa66da8b4832088ab31349de09dc37bdf2f04f8f8067b

See more details on using hashes here.

File details

Details for the file nsdf_dark_matter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nsdf_dark_matter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d4a1acf9f9802b124fcea2f863ae8c23b3d7a9f11d27708844bc2e37c7ee157
MD5 5de80a58f842d28ec5be065609d6cb11
BLAKE2b-256 77669e87ba085232bb8e581abbf190e09373890e430e88689e01f8e5df805ffa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page