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.

SkyModelBase

class gammapy.cube.models.SkyModelBase(params=None)[source]

Bases: gammapy.utils.fitting.Model

Sky model base class

Attributes Summary

parameters Parameters (Parameters)

Methods Summary

__call__(self, lon, lat, energy) Call self as a function.
copy(self) A deep copy.
to_dict(self[, selection])

Attributes Documentation

parameters

Parameters (Parameters)

Methods Documentation

__call__(self, lon, lat, energy)[source]

Call self as a function.

copy(self)

A deep copy.

to_dict(self, selection='all')