DES-SL / Y6_Bulk_Coadd_Cutouts

Codebase for large-scale cutout production from DES co-added images on the FNAL cluster
MIT License
0 stars 2 forks source link

Rm implementing tests #12

Closed rmorgan10 closed 3 years ago

rmorgan10 commented 3 years ago

Added test functionalities and made minor edits to the main code to better test things. Still a work in progress and there are merge conflicts to sort out

rmorgan10 commented 3 years ago

@erikzaborowski I updated your combine_bands function to also stack psfs when stacking images. I think it should still work, but let me know if it looks okay to you

rmorgan10 commented 3 years ago

@bechtol I split your psf function into a "read_psf" function and the function you made to actually produce the cutouts. The motivation for this was to only have to read the image into memory once, such that the same wcs can be used for both the image cutouts and the psf cutouts. Please let me know if anything looks off to you

bechtol commented 3 years ago

@rmorgan10 Yes, this was an improvement I was anticipating would be needed to get the wcs just one time. Thanks for implementing.