SpectralModel¶
-
class
gammapy.utils.modeling.
SpectralModel
(parameters)[source]¶ Bases:
gammapy.utils.modeling.BaseModel
Spectral model abstract base class.
Attributes Summary
xml_type
The XML type string xml_types
List of XML type strings (to support older versions of the format) Methods Summary
from_gammacat
(source)from_xml_dict
(data)to_xml
()Attributes Documentation
-
xml_type
¶ The XML type string
-
xml_types
¶ List of XML type strings (to support older versions of the format)
Methods Documentation
-