SpatialModel

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

Bases: gammapy.utils.modeling.BaseModel

Spatial 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

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