[AstroPy] Add an astropy.table.Table to a multi-extension FITS file?

David Kirkby dkirkby at uci.edu
Wed Dec 17 20:55:07 EST 2014


Is it possible to create a table as an astropy.table.Table and then convert
it to an astropy.fits.io.BinTableHDU suitable for adding to the
astropy.io.fits.HDUList of a multi-extension file?

I guess that astropy.table.Table.write already implements this but I didn't
see how to only generate a new HDU in memory with this API.

thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20141217/95fd5bd0/attachment.html>


More information about the AstroPy mailing list