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.
The following packages are required for pyBAR's ATLAS FE-I4 interpreter:
numpy cython tables
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.
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.