fits_table_to_table¶
-
gammapy.utils.fits.
fits_table_to_table
(hdu)[source]¶ Convert astropy table to binary table FITS format.
This is a generic method to convert a
BinTableHDU
toTable
. The name of the table is stored in the Table meta information under thename
keyword.Additional column information
description
anducd
can will be read from the header and stored in the column.meta attribute.Parameters: hdu :
BinTableHDU
FITS bin table containing the astropy table columns
Returns: table :
Table
astropy table containing the desired columns