SkyDiffuseConstant¶
-
class
gammapy.image.models.SkyDiffuseConstant(value=1)[source]¶ Bases:
gammapy.image.models.SkySpatialModelSpatially constant (isotropic) spatial model.
Parameters: - value :
Quantity Value
Attributes Summary
evaluation_radiusReturns the effective radius of the sky region where the model evaluates to non-zero. frameparametersParameters ( Parameters)positionSpatial model center position valueMethods Summary
__call__(self, lon, lat)Call evaluate method copy(self)A deep copy. evaluate(lon, lat, value)Attributes Documentation
-
evaluation_radius¶ Returns the effective radius of the sky region where the model evaluates to non-zero. For a constant diffuse model, we fix it to None.
Returns: - radius :
Angle None
- radius :
-
frame= None¶
-
parameters¶ Parameters (
Parameters)
-
position¶ Spatial model center position
-
value¶
Methods Documentation
-
__call__(self, lon, lat)¶ Call evaluate method
-
copy(self)¶ A deep copy.
- value :