normalize_fit_radial_intensity¶
- sunkit_image.radial.normalize_fit_radial_intensity(radii, polynomial, normalization_radius)[source]¶
Normalizes the fitted radial intensity to the value at the normalization radius.
The function assumes that the polynomial is the best fit to the observed log of the intensity as a function of radius.
- Parameters:
radii (
astropy.units.Quantity
) – The radii at which the fitted intensity is calculated, nominally in units of solar radii.polynomial (
numpy.ndarray
) – A polynomial of a given degree that fits the log of the intensity profile as a function of the radius.normalization_radius (
astropy.units.Quantity
) – The radius at which the fitted intensity value is normalized to.
- Returns:
numpy.ndarray
– An array with the same shape as radii which expresses the fitted intensity value normalized to its value at the normalization radius.