LSSTDESC / descwl_coadd

Tools for coadding using the LSST DM software stack
GNU General Public License v3.0
2 stars 2 forks source link

don't zero the image at EDGE #61

Closed esheldon closed 3 years ago

esheldon commented 3 years ago

This messes up background determination, where there is some sky value everywhere but the edge

This is a problem because the sky determination code does not ignore EDGE

esheldon commented 3 years ago

actually the sky sub is supposed to ignore EDGE, so this might not be needed

esheldon commented 3 years ago

Different reason to do this: when we subtract the sky, the EDGE pixels are in fact ignored for determining the sky, but the EDGE pixels are sky subtracted by the process.

For real data we will not allow EDGE pixels to enter the coadd, but for simulated data we sometimes will for the tests without warping, so we don't want to zero the edge pixels