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
BinTableHDUtoTable. The name of the table is stored in the Table meta information under thenamekeyword.Additional column information
descriptionanducdcan will be read from the header and stored in the column.meta attribute.Parameters: hdu :
BinTableHDUFITS bin table containing the astropy table columns
Returns: table :
Tableastropy table containing the desired columns