reproject
reproject copied to clipboard
Mosaic wcs
Hello, I set up a mosaic using reproject_and_coadd, but the mosaic has no wcs configured. Is there any way to preserve the wcs of the original images in the mosaic? I need a mosaic with accurate wcs. Can reproject_and _coadd do this?
The wcs you use in reproject_and_coadd
can be used in the fits file of the mosaic. If it is a wcs object, it has a to_header
method, and if it is a header you can use astropy.io.fits.PrimaryHDU
to convert it to a proper header to save with the array. You can also try uploading to nova.astrometry.net to get a wcs.