Open gcecil opened 1 year ago
Thanks for the questions @gcecill! The short answer to the first question, I think, is that there is no built-in way to reproject the images on the fly and combine them.
We do have this for breaking that into two steps, reprojecting and then combing: https://ccdproc.readthedocs.io/en/latest/image_combination.html#combination-with-image-transformation-and-alignment
The code at that snippet is inefficient in that it keeps all of the reprojected images in memory, which might not be possible depending on how many you are combining. This notebook for a class I teach does the reprojecting and saves to disk, and the saved images are combined in this notebook.
To get the number of pixels in each region, I would look at this from reproject: https://reproject.readthedocs.io/en/stable/mosaicking.html
Should we add something about this to the ccdproc documentation?
astropy: 5.2.2 ccdproc: 2.4.0 numpy: 1.24.3es
I'm combining a dozen dithers of a 2x2 mosaic of 2x2k NIR detectors. It seemed quickest to use ccdproc machinery because each detector image in the mosaic has updated WCS using astrometry.net Astrometry.net confirms that the detectors have a slight skew to each other and optical changes etc.
My questions:
Everything else in ccdproc is working fine for me, thank you for this package.