[AGIPD][Dark] Fix: Skip corrupted frame from dark processing
Description
This is a fix for https://git.xfel.eu/calibration/pycalibration/-/issues/71
Raise ValueError if an invalid cell is found. An invalid cell is a cell that is out of acceptable cell range for the corrected RAW data. > Detector number of memory cells
How Has This Been Tested?
Running the notebook on the failing run.
Relevant Documents (optional)
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
Reviewers
Edited by Karim Ahmed