-
Notifications
You must be signed in to change notification settings - Fork 15
Quality check not being completed correctly on images #588
Description
RMS quality checks that take into account the distribution of image rms values in the dataset have been implemented. i.e. a gaussian function is fitted to the rms distribution obtained from a specified number of images (given by the rms_history option in the job parameters file)
| rms_est_history = 100 ; how many images used for calculating rms histogram |
This was to address Issue #512
However, during testing of the implementation of a new parameter to threshold the fitted rms values, it became clear that the no quality checks are conducted until you reach the number of images in the rms_history parameter. This is not correct at all for batch mode and is only partially correct for streaming mode.
Batch mode:
- all images should be used for the histogram
- all images should have all of the quality checks conducted on them
- the rms_est_max/rms_est_min check should be for all images
- the sigma thresholds from the histogram fit should be used for all images
- the beam parameters should be tested for all images
Streaming mode:
- The first x number of images should be used for the histogram, where x is the number of images in the
rms_historyparameter - the rms_est_max/rms_est_min check should be for all images
- the sigma thresholds from the histogram fit should be used after the first x number of images
- the beam parameters should be tested for all images
This issue requires some redesign in the implementation of the quality checks. Namely, there should be separate versions for batch and streaming for the histogram fitted thresholds. Also, some of the quality checks (the rms_est_max/rms_est_min and beam parameters) should be separated out for all images.