Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New script to compute a pixel flat field from a flat exposure obtained during the CCD qualification tests instead of the flat field slit in a spectrograph. This code is written to compute a temporary flat for the new SM5 RED CCD (M1-28).
Usage:
Method: after remapping the CCD quadrants, divide the image in each quadrant by a median per row, a median per column, and a Gaussian convolved version of the same image.
Example (for SM2 where we also have the pixflat from the flatfield slit):
(left from flatfield slit , right from
M1-46_report/Flats/flat_median_700.fits
)