containment_radius#

gammapy.maps.containment_radius(map_, fraction=0.393, position=None)[source]#
Compute containment radius from a position in a map

with integral quantities and flat geometry.

Parameters:
map_WcsNDMap

Map of integral quantities.

fractionfloat

Containment fraction. Default is 0.393.

positionSkyCoord

Position from where the containment is computed. Default is the center of the Map.

Returns:
radiusAngle

Minimal radius required to reach the given containement fraction.