nrgf#
- sunkit_image.radial.nrgf(
- smap,
- *,
- radial_bin_edges=None,
- scale=None,
- intensity_summary=<function nanmean>,
- intensity_summary_kwargs=None,
- width_function=<function std>,
- width_function_kwargs=None,
- application_radius=<Quantity 1. solRad>,
- progress=False,
- fill=nan,
Implementation of the normalizing radial gradient filter (NRGF).
The filter works as follows:
Normalizing Radial Gradient Filter a simple filter for removing the radial gradient to reveal coronal structure. Applied to polarized brightness observations of the corona, the NRGF produces images which are striking in their detail. It takes the input map and find the intensity summary and width of intenstiy values in radial bins above the application radius. The intensity summary and the width is then used to normalize the intensity values in a particular radial bin.
Note
The returned maps have their
plot_settingschanged to remove the extra normalization step.- Parameters:
smap (
sunpy.map.Map) – The sunpy map to enhance.radial_bin_edges (
astropy.units.Quantity, optional) – A two-dimensional array of bin edges of size[2, nbins]wherenbinsis the number of bins. Defaults toNonewhich will use equally spaced bins.scale (None or
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. Defaults to None, which means that the map scale is used.intensity_summary (
function, optional) – A function that returns a summary statistic of the radial intensity. Defaults tonumpy.nanmean.intensity_summary_kwargs (
dict, optional) – Keywords applicable to the summary function.width_function (
function, optional) – A function that returns a summary statistic of the distribution of intensity, at a given radius. Defaults tonumpy.std.width_function_kwargs (
function, optional) – Keywords applicable to the width function.application_radius (
astropy.units.Quantity, optional) – The NRGF is applied to emission at radii above the application_radius. Defaults to 1 solar radii.progress (
bool, optional) – Show a progressbar while computing. Defaults toFalse.fill (Any, optional) – The value to be placed outside of the bounds of the algorithm. Defaults to NaN.
- Returns:
sunpy.map.Map– A SunPy map that has had the NRGF applied to it.
References
Morgan, Habbal & Woo, 2006, Sol. Phys., 236, 263. https://link.springer.com/article/10.1007%2Fs11207-006-0113-6