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.3.0.tar.gz (23.6 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.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for nsdf_dark_matter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7fc7c67a8009023817fec801181a1a514c0b505893517eaad1ec2b1faee99174
MD5 dda38fc261d0f083fcd3923c22f33163
BLAKE2b-256 6eca7219b492fc72dcdd8e60f9857ef0a21335f7d0c19ff09a911ed5eb5a3331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nsdf_dark_matter-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c666d21898eb151e93b558c545ea145c343561ea1a44e70dc3611ffc733b74
MD5 4dc678fdb675b5b12fb648e4bb1a5b0b
BLAKE2b-256 cfae9f8ffdd3ce0c327122aec86b570a1814522ecfb9a6d32b5e84bf5f6fa168

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