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.0.tar.gz (8.7 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.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tpc182tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b7a7c8481a308ce3f53938bcc1d06c7cc839facbc2d499a61901c555404f6091
MD5 49f2169f9c82c5fea32fee24146bd711
BLAKE2b-256 aeaa5c285561fa95ef5bf225f984ab9c9848603519896ec4f2cf58bdeb02854c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tpc182tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d09bd2ebb04b131df1d5c0088a4554fd61271dcd7aba91794449dcf670dc1bac
MD5 ab6d0706efc44b0dee00b95e61aa4408
BLAKE2b-256 a482bb4a104d6acdfe04b18b180f8210a0c4943b8d615d9311fcf7ef547992c4

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