[AstroPy] Saving Cutout2D image to FITS

Ivan Valtchanov ivvv68 at gmail.com
Tue Mar 13 17:27:27 EDT 2018


Hi all,

I've been trying to use astropy.nddata Cutout2D to crop a large image. I
don't see how to save the cutout result to a FITS file.
cutout.writeto('image.fits') does not work and in the API I cannot find a
method in the Cutout2D class that saves the result to a FITS file.

is there a way to do it?

Thanks,
Ivan Valtchanov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20180313/af92dd20/attachment.html>


More information about the AstroPy mailing list