radial_profile_label_image

gammapy.image.radial_profile_label_image(image, center, radius)[source]

Image radial profile label image.

The radius array defines n_bins = len(radius) - 1 bins.

The label image has the following values: * Value 1 to n_bins for pixels in (radius[0], radius[-1]) * Value 0 for pixels with r < radius[0] * Value n_bins for pixels with r >= 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)