Skip to content

Cleanup of test_ETROC script

Daniel Spitzbart requested to merge cleanup into master

This is an attempt to clean up and streamline the tests we run using test_ETROC. It will force usage of the moduleID as an argument so that results are easier to trace back.

The MR also introduces 3 options for obtaining thresholds for chip:

  • automatic: using the ETROC internal threshold scan
  • manual: using the "fast" external scan, relying on proper FIFO operations
  • load from file: use a previous scan result, providing the input path

An example can be found below:

ipython3 -i test_ETROC.py -- --test_chip --module 1 --kcu 192.168.0.10 --configuration modulev0b --pixel_mask configs/pixel_mask_modulev0b_11.yaml --moduleid 11 --hard_reset

The pixel mask is fully optional and only needed for ETROCs with known issues. The used pixel mask was created with

cd tamalero
ipython3 -i PixelMask.py -- --cols 1 --output ../configs/pixel_mask_modulev0b_11.yaml
Edited by Daniel Spitzbart

Merge request reports