measure_containment

gammapy.image.measure_containment(image, position, radius)[source]

Measure containment in a given circle around the source position.

Parameters:

image :`gammapy.maps.Map`

Image to measure on.

position : SkyCoord

Source position on the sky.

radius : float

Radius of the region to measure the containment in.