Skip to content

SiLab-Bonn/pymosa_mimosa26_interpreter

Repository files navigation

Mimosa26 Interpreter Build status

pymosa_mimosa26_interpreter - A Mimosa26 raw data interpreter in Python.

Interpreter for Mimosa26 raw data recorded with pymosa DAQ.

The events are built by using the trigger words in the raw data generated by the TLU FSM. It is also possible to create a PDF with an occupancy map for each Mimosa26 plane.

Note: The parameter DATA_FORMAT must be set to 2 (15 bit trigger number + 16 bit trigger timestamp) in the TLU FSM so that the interpreter can work.

Installation

The following packages are required for the Mimosa26 interpreter:

matplotlib numba numpy pytables tqdm

Then install the Mimosa26 interpreter:

pip install .

Usage

An example script which does the raw data interpretation as well as the creation of a hit table is located in the examples folder. The ouput file can be used with Beam Telescope Analysis (BTA).

Support

Please use GitHub's issue tracker for bug reports/feature requests/questions.

Tests

Software is tested with Ubuntu 20.04 using Python 3.9.