SkyModel¶
-
class
gammapy.cube.models.
SkyModel
(spatial_model, spectral_model, name='source')[source]¶ Bases:
gammapy.cube.models.SkyModelBase
Sky model component.
This model represents a factorised sky model. It has a
Parameters
combining the spatial and spectral parameters.TODO: add possibility to have a temporal model component also.
Parameters: - spatial_model :
SkySpatialModel
Spatial model (must be normalised to integrate to 1)
- spectral_model :
SpectralModel
Spectral model
- name : str
Model identifier
Attributes Summary
evaluation_radius
Angle
frame
name
parameters
Parameters ( Parameters
)position
SkyCoord
spatial_model
SkySpatialModel
spectral_model
SpectralModel
Methods Summary
__call__
(self, lon, lat, energy)Call self as a function. copy
(self, \*\*kwargs)Copy SkyModel evaluate
(self, lon, lat, energy)Evaluate the model at given points. Attributes Documentation
-
frame
¶
-
name
¶
-
parameters
¶ Parameters (
Parameters
)
-
spatial_model
¶
-
spectral_model
¶
Methods Documentation
-
__call__
(self, lon, lat, energy)¶ Call self as a function.
- spatial_model :