calculate_fit_radial_intensity¶
- sunkit_image.radial.calculate_fit_radial_intensity(radii, polynomial)[source]¶
Calculates the fit value of the radial intensity at the values
radii
.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 degree “degree” that fits the log of the intensity profile as a function of the radius.
- Returns:
numpy.ndarray
– An array with the same shape as radii which expresses the fitted intensity value.