find_radial_bin_edges#

sunkit_image.utils.find_radial_bin_edges(smap, radial_bin_edges=None)[source]#

Calculate radial bin edges for a solar map, either using provided edges or generating them automatically.

Parameters:
  • smap (sunpy.map.Map) – A sunpy Map containing the data to be binned.

  • radial_bin_edges (astropy.units.Quantity, optional) – Pre-defined bin edges for radial binning. Should be a Quantity array with units of solar radii (u.R_sun) or pixels. If None (the default), bin edges will be automatically generated based on the map dimensions.

Returns: