Francisco Paz Chinchón


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.



  1. Set of codes to assess domeflats using Wavelet in 2D 
    1. Repository:
  2. Time domain: the table `FLAT_QA` has some useful quantities to create time series and explore stability of nights
  3. Time domain codes
    1. Repository:
    2. Repository:
  4. Useful for detecting features when analyzing large sets of images:
    1. DBSCAN
    2. Auto-similarity (see codes in the above repositories)
    3. use matplotlib for sequential display of a lot of footprint images
  5. Remember to do visual inspection of individual domeflats. These are binned focal plane images (binned_fp filetype)
  6. For specific features smaller than 128 pixels, is much better to use the whole CCD to get statistics

Note: Remember to delete precal runs after creating the Supercal, to save disk space.


For a step-by-step, queries to select DB products, and discussion, refer to the below repository. Remember visual inspection of each full-sized CCD must be done, looking for structures.

Repository and documentation:

Skytemplates generation for u-band

For the step-by-step, codes, and discussion, refer to the below repository. This was done retrieving additional DECam data from NOAO.

Repository and documentation:

Some investigation for the wedge appearing in skytemplates

The notebook and additional codes can be found in the repository below.



Use ~50 g-band exposures, following the step-by-step described in the following repository. Remember to do a bit-by-bit comparison against past epochs, to check for some out of the normal variation.

Repository and documentation:

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


Translate from a set of bit-definitions to another

Repository and documentation:

Check masks


Calibrations for Y4 onwards

Visit: Calibration products (Y4 onwards)

  • No labels