radial_profile_label_image¶
-
gammapy.image.
radial_profile_label_image
(image, center, radius)[source]¶ Image radial profile label image.
The
radius
array definesn_bins = len(radius) - 1
bins.The label image has the following values: * Value
1
ton_bins
for pixels in(radius[0], radius[-1])
* Value0
for pixels withr < radius[0]
* Valuen_bins
for pixels withr >= radius[-1]
Parameters: image :
SkyImage
Image
center :
SkyCoord
Center position
radius :
Angle
Offset bin edge array.
Returns: labels :
SkyImage
Label image (1 to max_label; outside pixels have value 0)