SkyDisk¶
-
class
gammapy.image.models.SkyDisk(lon_0, lat_0, r_0, frame='galactic')[source]¶ Bases:
gammapy.image.models.SkySpatialModelConstant radial disk model.
\[\begin{split}\phi(lon, lat) = \frac{1}{2 \pi (1 - \cos{r_0}) } \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: Attributes Summary
evaluation_radiusReturns the effective radius of the sky region where the model evaluates to non-zero. framelat_0lon_0parametersParameters ( Parameters)positionSpatial model center position r_0Methods 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). Attributes Documentation
-
evaluation_radius¶ Returns the effective radius of the sky region where the model evaluates to non-zero. For a Disk source, we fix it to \(r_0\).
Returns: - radius :
Angle Radius in angular units
- radius :
-
frame¶
-
lat_0¶
-
lon_0¶
-
parameters¶ Parameters (
Parameters)
-
position¶ Spatial model center position
-
r_0¶
Methods Documentation
-
__call__(lon, lat)¶ Call evaluate method
-
copy()¶ A deep copy.
-