table_to_hdu

mpdaf.tools.table_to_hdu(table)[source]

Convert an astropy.table.Table object to a FITS BinTableHDU

Parameters:

table : astropy.table.Table

The table to convert.

Returns:

table_hdu : astropy.io.fits.BinTableHDU

The FITS binary table HDU