/testbeam_analysis

A powerful and adaptable analysis software in Python for beam test data

Primary LanguagePythonMIT LicenseMIT

Introduction

Build status Build status Coverage Documentation

Testbeam analysis is a simple to use software to analyse pixel-sensor data taken in a particle-beam telescope-setup. All steps of a complete analysis are implemented with a few independent python functions. For a quick first impression check the examples in the documentation.

In a future release it is forseen to enhance the alignment to work more reliable.

Installation

You have to have Python 2/3 with the following modules installed:
  • cython
  • tables
  • scipy
  • matplotlib
  • numba

If you are new to Python please look at the installation guide in the wiki. Since it is recommended to change example files according to your needs you should install the module with

python setup.py develop

This does not copy the code to a new location, but just links to it. Uninstall:

pip uninstall testbeam_analysis

Example usage

Check the examples folder with data and examples of a Mimosa26 and a FE-I4 telescope analysis. Run eutelescope_example.py or fei4_telescope_example.py in the example folder and check the text output to the console as well as the plot and data files that are created to understand what is going on. In the examples folder type e.g.:

python fei4_telescope_example.py