radial_profile

hcipy.metrics.radial_profile(image, bin_size)

Create a radial profile of the image around its center.

Parameters
imageField

The image that we want an azimuthal profile from. This image must be two-dimensional.

bin_sizescalar

The extent of each bin. Each bin will be a ring from r to r+`bin_size`.

Returns
bin_centersarray_like

The center of each of the bins.

profilearray_like

The y-values of the resulting radial profile.

std_profilearray_like

The standard deviation within each bin.

num_per_binarray_like

The number of samples per bin.