Install Pymepix with Pymepixviewer

  1. Create new folder (e.g. timepix)

  2. Open folder from Step 1 in terminal (e.g. cd timepix)

  3. Clone both Pymepix and Pymepixviewer into the new folder into two separate repositories

git clone https://gitlab.desy.de/CMI/CMI-public/pymepix.git
git clone https://gitlab.desy.de/CMI/CMI-public/pymepix-viewer.git
  1. Create a virtual environment by running uv venv in the terminal

  2. Activate the virtual environment in the terminal by running source .venv/bin/activate

  3. Install the pymepix repository by running cd pymepix; uv pip install .

  4. Run uv pip install pyqt5

  5. Install Pymepixviewer by running cd ../pymepixviewer; uv pip install .

  6. Install git lfs by running git lfs install and git lfs pull

  7. Run a simple test as described in the chapter “Use Pymepix without camera” to make sure everything works

Done