Skip to content

A python package to interpret and histogram ATLAS FE-I4 raw data recorded with pyBAR

License

Notifications You must be signed in to change notification settings

YannickDieter/pyBAR_fei4_interpreter

 
 

Repository files navigation

pyBAR_fei4_interpreter Build Status Build Status

pyBAR_fei4_interpreter - An ATLAS FE-I4 raw data interpreter in Python and C++

This package can be used to interpred raw data from the ATLAS FE-I4 taken with the readout framework pyBAR. It also contains histogramming functions and interpretation tools. The interpretation takes place in fast C++ code to increase the speed.

Installation

The following packages are required for pyBAR's ATLAS FE-I4 interpreter:

numpy cython tables

Usage

from pybar_fei4_interpreter.data_interpreter import PyDataInterpreter
interpreter = PyDataInterpreter()  # Initialize interpretation module
raw_data = np.array([73175087, 73044495, 73058863, 73194895, 73197919, 73093151], np.uint32)  # Some raw data to interpret
interpreter.interpret_raw_data(raw_data)  # Start the raw data interpretation
print interpreter.get_hits()  # Print the hits in the raw data

Als take a look at the example folder.

Support

To subscribe to the pyBAR mailing list, click here. Please ask questions on the pyBAR mailing list pybar-devel@cern.ch (subscription required) or file a new bug report / feature request here.

About

A python package to interpret and histogram ATLAS FE-I4 raw data recorded with pyBAR

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 59.8%
  • Python 32.0%
  • C 8.2%