SkyDisk

class gammapy.image.models.SkyDisk(lon_0, lat_0, r_0)[source]

Bases: gammapy.image.models.SkySpatialModel

Constant radial disk model.

\[\begin{split}\phi(lon, lat) = \frac{1}{2 \pi (1 - \cos{r}) } \cdot \begin{cases} 1 & \text{for } \theta \leq r_0 \\ 0 & \text{for } \theta < r_0 \end{cases}\end{split}\]

where \(\theta\) is the sky separation

Parameters:
lon_0 : Longitude

\(lon_0\)

lat_0 : Latitude

\(lat_0\)

r_0 : Angle

\(r_0\)

Methods Summary

__call__(lon, lat) Call evaluate method
copy() A deep copy.
evaluate(lon, lat, lon_0, lat_0, r_0) Evaluate the model (static function).

Methods Documentation

__call__(lon, lat)

Call evaluate method

copy()

A deep copy.

static evaluate(lon, lat, lon_0, lat_0, r_0)[source]

Evaluate the model (static function).