Since November 2015 there is the Data formats for gamma-ray astronomy project.
Most of the information in
gammapy/docs should be moved there.
Probably keeping the overview table which formats are supported in Gammapy and
linking format names and class names should be kept.
Here we describe various data file formats that are useful for the exchange of TeV data, instrument response functions and results.
In Dataset access (datasets) you find example gamma-ray datasets, some in the formats described here.
Where available and useful existing standards are used, e.g.
for spectral data the X-ray community has developed the
file formats and they have developed powerful tools to work with data in that format.
In other cases (flux points, point spread function, run lists) there is no standard and we simply use general-purpose file formats define our own semantics as described in the File formats section.
Here’s an overview of the file formats supported by Gammapy and Gammalib:
|PSF||no spec available||
|PSF||no spec available||N/A||GCTACubePsf|
|Background||no spec available||N/A||GCTAModelRadialAcceptance|
|Background||no spec available||N/A||GCTACubeBackground|
- The Gammalib docs contain a nice overview of IRFs here and detailed explanations of some IRF here.
- We probably should unify / shorten the IRF class names in Gammapy.
- There’s quite a few classes in Gammapy that don’t have a well-defined format. We should add a way to serialise every class and document the format for easier interop.
- Maybe add info which format is used by Fermi, HESS HD/PA, CTA?
- For every format there should be one or several test data files. This could even be in a repo that’s shared by Gammalib / Gammapy.
- TODO: For
TablePSFFITS I/O in the Gammalib format should be implemented.
- TODO: the format name should be chosen so that it corresponds to FITS extension names or filenames. Is this the case? Can we agree on names with Gammalib?