clean_drizzle¶
- grizli.prep.clean_drizzle(root, context=False, fix_wcs_system=False)[source]¶
Zero-out WHT=0 pixels in drizzle mosaics
- Parameters
- rootstr
Rootname of the mosaics. I.e.,
{root}_drz_sci.fits
.- contextbool
Mask pixels where the context image shows that the pixel is only covered by a single input image.
- fix_wcs_systembool
Force RADESYS/EQUINOX = ICRS/2000. and fix LATPOLE to CRVAL2.
- Returns
- Nothing, but updates the input drizzle mosaics in place.