measure_containment_radius¶
-
gammapy.image.
measure_containment_radius
(image, position, containment_fraction=0.8)[source]¶ Measure containment radius of a source.
Uses
scipy.optimize.brentq
.Parameters: - image :`gammapy.maps.Map`
Image to measure on.
- position :
SkyCoord
Source position on the sky.
- containment_fraction : float (default 0.8)
Containment fraction
Returns: - containment_radius :
Containment radius (pix)