[AstroPy] HDU to Table

Frederic V. Hessman hessman at astro.physik.uni-goettingen.de
Wed Apr 17 09:43:56 EDT 2019


There's the convenience function 

	astropy.io.fits.table_to_hdu (astropy.table.Table) -> astropy.io.fits.BinTableHDU

but where's 

	astropy.io.fits.hdu_to_table(astropy.io.fits.BinTableHDU) -> astropy.table.Table ?

Surely people are writing AND reading binary tables.....!    I want to dump IFU spectra into a single FITS binary table file and then easily read them back in again.

My internet searches haven't yielded anything equivalent.  Of course, one can write the reverse conversion (one can write anything/everything), but this should be a standard FITS/Table function.

Rick

------------------------------------------------------------------------------------------------
Dr. Frederic V. Hessman     Hessman at Astro.physik.Uni-Goettingen.DE
Institut für Astrophysik          Tel.  +49-551-39-5052
Friedrich-Hund-Platz 1         Fax +49-551-39-5043
37077 Goettingen                 Room F04-133
http://www.Astro.physik.Uni-Goettingen.de/~hessman
-------------------------------------------------------------------------------------------------
MONET: a MOnitoring NEtwork of Telescopes
http://monet.Uni-Goettingen.de
-------------------------------------------------------------------------------------------------




More information about the AstroPy mailing list