radial_profile_label_image¶
-
gammapy.image.radial_profile_label_image(image, center, radius)[source]¶ Image radial profile label image.
The
radiusarray definesn_bins = len(radius) - 1bins.The label image has the following values: * Value
1ton_binsfor pixels in(radius[0], radius[-1])* Value0for pixels withr < radius[0]* Valuen_binsfor pixels withr >= radius[-1]Parameters: image :
SkyImageImage
center :
SkyCoordCenter position
radius :
AngleOffset bin edge array.
Returns: labels :
SkyImageLabel image (1 to max_label; outside pixels have value 0)