Skip to main content

Mattak is (will eventually be) a multilingual package containing readers and helpers for RNO-G in C++, Python (via both uproot and PyROOT) and maybe even JS (via rootjs).

Reason this release was yanked:

not built properly

Project description

Mattak

Mattak is a Greenlandic meal consisting of whale skin and blubber. Blubber is a store of energy. That's close enough to data storage...

Mattak is (will eventually be) a multilingual package containing readers and helpers for RNO-G in C++, Python (via both uproot and PyROOT) and maybe even JS (via rootjs). Writers are provided in C++ ( and Python via PyROOT) These are all in the same package so that they can be kept in concert with each other.

Quickstart

The Python interface for mattak can be installed by running:

pip install git+https://github.com/RNO-G/mattak.git

In order to use the (faster) PyROOT backend, you need a working installation of ROOT. If no ROOT installation can be found, only the uproot backend will be installed.

Data directory hierarchy

All data is assumed to reside in a directory named ${RNO_G_DATA}, which in the C++ and Python readers is often accessed via an environmental variable. This may be a mounted directory, or could be an http directory (assuming the HTTP server it resides on supports byte ranges).

The general schema for ``run-associated" data (i.e., data taken synchronously with a run) is:

${RNO_G_DATA}/station${STATION_NUMBER}/run${RUN_NUMER}/${PACKET_TYPE}.root 

Config files for each run live in:

${RNO_G_DATA}/station${STATION_NUMBER}/run${RUN_NUMBER}/cfg 

And any auxilliary files we might generate will be under:

${RNO_G_DATA}/station${STATION_NUMBER}/run${RUNNUMBER}/aux 

Note that this might result in a lot of files in a directory.

Run-associated Data packets

Header

Run-associated. This is all metadata associated with a single event, not including waveforms. This is kept separated because some operations need only the metadata and also because we can transfer all metadata but only a portion of waveforms

Waveforms

These are all waveforms associated with each event.

DAQStatus

Asynchronous DAQ-related data (e.g. thresholds, scalers, etc.) recorded every once in a while asynchronous to events but still as part of a run.

Non-run associated data packets (TODO)

Eventually we might have sensor data, calibration data, GNSS data and who knows what else in the same file tree. That will be defined later...

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

mattak-0.1.tar.gz (58.9 kB view details)

Uploaded Source

Built Distribution

mattak-0.1-cp39-cp39-manylinux_2_34_x86_64.whl (323.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

File details

Details for the file mattak-0.1.tar.gz.

File metadata

  • Download URL: mattak-0.1.tar.gz
  • Upload date:
  • Size: 58.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for mattak-0.1.tar.gz
Algorithm Hash digest
SHA256 59e3389d3301395537d67d8220283f835a7f56af722575e55a3d40f5b7905c93
MD5 50af3e66d225af79a143e3a91d78beac
BLAKE2b-256 dd1f448237cca183c5e922c6a0a087f1528b07b90908007f3748add56c1ded38

See more details on using hashes here.

File details

Details for the file mattak-0.1-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mattak-0.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9497a5e59f23cd4470448a6ac05c134bba50dbb7901fa4e02447715e8cfb40ae
MD5 e8ac8fc5130f1d7f19fc67484e69383b
BLAKE2b-256 eb213ab7c58e1f4d66653d4289ce794b186f91258f4d5116dada51b88ec5ab2b

See more details on using hashes here.

Supported by

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