-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quality check not being completed correctly on images #588
Comments
The beam parameters and rms_est_max and rms_est_min checks are now incorporated for all images on branch Issue588 https://github.com/transientskp/tkp/tree/Issue588 The histogram fit is correct for streaming data but need to adapt for batch data. For batch data we need to measure all of the rms values, fit and then reassess all of the images to reject those outside of the allowed range. Current situation:
Requirement for batch mode:
n.b. the streaming mode is likely to be inefficient and require speed up. I propose that we don't just refit every image, but only refit every n images where n is the rms_est_history number. |
To do the Gaussian fit on all the images will require changing the current logic flow in TraP for batch mode. The current set up works fine for streaming mode. Current setup:
Setup needed for batch mode:
As this is a change in the main logic of TraP, I propose we leave it for now and just ensure that the basic quality control steps are included for all images. |
This issue is partially completed by the pull request #591 but there remains an issue with the historical rms in Batch mode. |
This code is currently very inefficient and not working correctly. This is a very useful option for R7 so we should assess how easy it would be to implement correctly. |
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)
tkp/tkp/config/job_template/job_params.cfg
Line 6 in fa65950
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:
Streaming mode:
rms_history
parameterThis 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.
The text was updated successfully, but these errors were encountered: