Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.67 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.67 KB

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.