Francisco Paz Chinchón
Precal
Run nightly calibrations over domeflats and bias. Beware the code automatically discards first exposure of each filetype of the night, for safety. The nightly processing should run periodically, to make generation of supercals smoother.
Time domain: the table `FLAT_QA` has some useful quantities to create time series and explore stability of nights
Supercal
Assessments
- Set of codes to assess domeflats using Wavelet in 2D
- Time domain codes
- DBSCAN
- use matplotlib for sequential display of a lot of footprint images
Visual inspection of individual domeflats binned focal plane images (binned_fp filetype)
Whole CCD global statistics
Remember to delete precal runs after creating the Supercal, to save disk space.
Skytemplates
For a step-by-step, queries to select DB products, and discussion, refer to the below repository.
Repository and documentation: https://github.com/paztronomer/skytemplates_build
Skytemplates generation for u-band
For the step-by-step, codes, and discussion, refer to the below repository.
Repository and documentation: https://github.com/paztronomer/uband_endeavor
visual inspection of each full-sized CCD must be done, looking for structures
If needs more data: NOAO archive for DECam
Some investigation for the wedge appearing in skytemplates
Repository: https://github.com/paztronomer/skytemplates_wedge_mask
BPM
Use ~50 g-band exposures, following the step-by-step described in the following repository.
Repository and documentation: https://github.com/paztronomer/bpm_calibrations
Dilation of tapebumps masks
- it is a good guess to use same binary-dilation (numpy) number of pixels than the wide of the kernel used for assess profiles.
- Techniques I've used for detecting the mask regions to be enlarged:
- median images at different levels of counts
- segmentation using Otsu threshold
Add mask to BPM
Repository: https://github.com/paztronomer/bpm_addmask
Translate from a set of bit-definitions to another
Repository and documentation: https://github.com/paztronomer/bpm_translation
Check masks
Repository: https://github.com/paztronomer/mask_check