diff options
Diffstat (limited to 'fg21sim/sky.py')
-rw-r--r-- | fg21sim/sky.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fg21sim/sky.py b/fg21sim/sky.py index 9187777..637c990 100644 --- a/fg21sim/sky.py +++ b/fg21sim/sky.py @@ -175,6 +175,9 @@ class SkyPatch: header = self.header.copy(strip=True) wcs_header = self.wcs.to_header() header.extend(wcs_header, update=True) + header["PIXSIZE"] = (self.pixelsize, "Pixel size [arcmin]") + header["RA0"] = (self.center[0], "R.A. of patch center [deg]") + header["DEC0"] = (self.center[1], "Dec. of patch center [deg]") hdu = fits.PrimaryHDU(data=image, header=header) hdu.writeto(outfile, clobber=clobber, checksum=checksum) logger.info("Write sky map to file: %s" % outfile) |