SPI hit finder
This add implementation of SPI hit-finder based on lit-pixel counter. The numbers of lit-pixels, computed per frame per module, are expected in EXDF files. The implementation of the lit-pixel counter is integrated in pycalibration
pipeline, see calibration/pycalibration!986 (merged).
Features:
- read lit-pixel from EXDF files
- computes sum the number lit-pixel per module for every image
- computes adaptive threshold if configured
- generates the hit mask
- randomly select the fraction of misses and makes the miss mask
- draws plots of hitrate, histscore and hitscore histogram