Skip to main content

A collection of useful tools for the TPCs of 182.

Project description

TPC 182 Tools

A general package for processing data generated from TPCs in CERN B182.

This package provides:

  • DUNE-DAQ HDF5 file reading (must be in a DUNE-DAQ environment),
    • Transcoding these files into a self-contained format,
  • Reading tpc182tools HDF5 format files.

It does not provide analysis procedures or algorithms that one may want to apply to the data that was read. It is currently expected that the user understands the returned contents and may manipulate how they wish.

File Formats

DUNE-DAQ

The TPCs in 182 have so far been generating data files using the DUNE-DAQ system. This comes with a proprietary format that requires being in a DUNE-DAQ environment to be able to reasonably read these files. This package provides a bare-bones way of reading and reformatting (apply channel maps and other utilities) the data available in these files. These data files may be read by using tpc182tools.readers.WIBEthFrameReader.

tpc182tools HDF5

To avoid the DUNE-DAQ environment requirement, this package also provides a centralized transcoder tpc182tools.transcoders.HDF5Transcoder. This reads and transcodes the data into an HDF5 format that does not require the DUNE-DAQ environment while preserving all the data from the WIBEthFrames.

These data files can be read using tpc182tools.readers.HDF5Reader with many of the same methods as the WIBEthFrameReader. Since generating the transcoded files does not make use of any proprietary data format, these HDF5 files may be read by any file reader. If a user has access to a transcoded data file, they may use ROOT, C++, etc. with the appropriate h5 library to read the data in their preferred way.

These files do not feature the DUNE-DAQ trigger data (TriggerPrimitive, TriggerActivity, TriggerCandidate). These data structures are seen as niche and proprietary to the DUNE-DAQ environment, so these were left out (though, they may be added 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

tpc182tools-1.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

tpc182tools-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file tpc182tools-1.0.1.tar.gz.

File metadata

  • Download URL: tpc182tools-1.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for tpc182tools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7ce20614217b7aae5553ddb32d53a65a7f82092269180ba8b3d8c9ae7194e4ab
MD5 135dba9207b06ef479b5ab370d018e21
BLAKE2b-256 4bf33a7865d377fa9f1c4ac9cf97c91bc312496d50a4fabc45f301d600af3f5d

See more details on using hashes here.

File details

Details for the file tpc182tools-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tpc182tools-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for tpc182tools-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c0efe11f4c30c079411ab9a4dcd8ed59592f64b1d27de0d202b987bca11474
MD5 f99e318030b324bff3f41fefdff186e5
BLAKE2b-256 cd4d3d4ce99e949d6769131a197a0eaac0d7c6ca225932cc130aaa518293ff69

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