sunkit_image.utils.find_pixel_radii(smap, scale=None)[source]#

Find the distance of every pixel in a map from the center of the Sun. The answer is returned in units of solar radii.

  • smap ( – A SunPy map.

  • scale ({None , astropy.units.Quantity}, optional) – The radius of the Sun expressed in map units. For example, in typical helioprojective Cartesian maps the solar radius is expressed in units of arcseconds. If None then the map is queried for the scale.


radii (astropy.units.Quantity) – An array the same shape as the input map. Each entry in the array gives the distance in solar radii of the pixel in the corresponding entry in the input map data.