measure_curve_of_growth¶
-
gammapy.image.measure_curve_of_growth(image, position, radius_max=None, radius_n=10)[source]¶ Measure the curve of growth for a given source position.
The curve of growth is determined by measuring the flux in a circle around the source and radius of this circle is increased
Parameters: image :
astropy.io.fits.ImageHDUImage to measure on.
position :
SkyCoordSource position on the sky.
radius_max :
QuantityMaximal radius, up to which the containment is measured (default 0.2 deg).
radius_n : int
Number of radius steps.
Returns: radii :
QuantityRadii where the containment was measured.
containment :
QuantityCorresponding contained flux.