Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

SpectralModelPowerLaw

class gammapy.utils.modeling.SpectralModelPowerLaw(parameters)[source]

Bases: gammapy.utils.modeling.SpectralModel

Attributes Summary

xml_type
xml_types

Methods Summary

from_gammacat(source)
from_plist(plist)
from_xml_dict(data)
to_xml()

Attributes Documentation

xml_type = 'PowerLaw'
xml_types = ['PowerLaw']

Methods Documentation

from_gammacat(source)
classmethod from_plist(plist)[source]
from_xml_dict(data)
to_xml()