SkyDiffuseConstant

class gammapy.image.models.SkyDiffuseConstant(value=1)[source]

Bases: gammapy.image.models.SkySpatialModel

Spatially constant (isotropic) spatial model.

Parameters:
value : Quantity

Value

Attributes Summary

evaluation_radius Returns the effective radius of the sky region where the model evaluates to non-zero.
frame
parameters Parameters (Parameters)
position Spatial model center position
value

Methods 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

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.

static evaluate(lon, lat, value)[source]