blackout_pixels_above_radius#
- sunkit_image.utils.blackout_pixels_above_radius(smap, radius_limit=<Quantity 1.5 solRad>, fill=nan)[source]#
Black out any pixels above a certain radius in a SunPy map.
- Parameters:
sunpy_map (
sunpy.map.GenericMap
) – The input sunpy map.radius_limit (
astropy.units.Quantity
) – The radius limit above which to black out pixels.fill (
Any
, optional) – The value to use above theradius_limit
. Defaults to Nan.
- Returns:
sunpy.map.GenericMap
– A new sunpy map with pixels above the specified radius blacked out.