Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Latest commit

 

History

History
62 lines (41 loc) · 1.67 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.67 KB

Thia repository is deprectaed, please see the public project at https://gitlab.desy.de/CMI/CMI-public/pymepix instead.

branch for implementing zmq for packetprocessor

Pymepix

The pymepix Python module provides the control and data-acquisition (DAQ) functionality. It directly interfaces with the Timepix hardware. Currently, it works with the SPIDR board.

See the accompanying license and the documentation for further details.

Getting Started with PymePix

Prerequisites

Obviously, you need a Timpix3cam with SPIDR board, we are using versions of TPX3CAM from ASI.

Pymepix has very few dependencies and mostly uses the batteries included in Python 3. Installing pymepix should install the prerequisties numpy and sklearn if not already present.

Installing

Run the installation script through

python3 -m pip install .

if you try to install in a Conda or virtual environment, you need to do

python3 -m pip install --user .

Standard setuptools options such as -e for development are available; see, e.g., the PymePix documentation for some details.

Try importing pymepix outside the actual source code:

python -c "import pymepix"

If there are no errors then the installation was, fundamentally, successful.

Documentation

Documentation is available at readthedocs; you can locally build the included documentation by running

python setup.py build_sphinx