Note
You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.
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