SourceCatalog1LHAASO#
- class gammapy.catalog.SourceCatalog1LHAASO[source]#
Bases:
SourceCatalog
First LHAASO catalog.
One source is represented by
SourceCatalogObject1LHAASO
.The data is from table 1 in the paper [1].
The catalog table contains 90 rows / sources.
References
Attributes Summary
Catalog description
Source positions as a
SkyCoord
object.Catalog name
Methods Summary
row_index
(name)Look up row index of source by name.
source_name
(index)Look up source name by row index.
to_models
([which])Create Models object from catalog.
Attributes Documentation
- description = '1LHAASO catalog from the LHAASO observatory'#
Catalog description
- tag = '1LHAASO'#
Catalog name
Methods Documentation
- row_index(name)#
Look up row index of source by name.
- Parameters:
- namestr
Source name.
- Returns:
- indexint
Row index of source in table.
- source_name(index)#
Look up source name by row index.
- Parameters:
- indexint
Row index of source in table.
- to_models(which='both')[source]#
Create Models object from catalog.
which="both"
- Use first model or create a composite template if both models are available.which="KM2A"
- Sky model for KM2A analysis if available.which="WCDA"
- Sky model for WCDA analysis if available.
- classmethod __new__(*args, **kwargs)#