table_to_fits_table¶
-
gammapy.utils.fits.table_to_fits_table(table, name=None)[source]¶ Convert
Tabletoastropy.io.fits.BinTableHDU.The name of the table can be stored in the Table meta information under the
namekeyword.Additional column information
descriptionanducdcan be stored in the column.meta attribute and will be stored in the fits header.Parameters: table :
TableTable
Returns: hdu :
BinTableHDUBinary table HDU