SkyModel¶
-
class
gammapy.cube.models.SkyModel(spatial_model, spectral_model, name='source')[source]¶ Bases:
gammapy.cube.models.SkyModelBaseSky model component.
This model represents a factorised sky model. It has a
Parameterscombining 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_radiusAngleframenameparametersParameters ( Parameters)positionSkyCoordspatial_modelSkySpatialModelspectral_modelSpectralModelMethods 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 :