lime_tbx.business.lime_algorithms.lime.elref module
This module calculates the extra-terrestrial lunar reflectance.
- It exports the following functions:
calculate_elref - Calculates the expected extra-terrestrial lunar reflectance
for a given wavelength in nanometers. * calculate_elref_unc - Calculates the uncertainty for the reflectance calculations of empirical data points.
- lime_tbx.business.lime_algorithms.lime.elref.calculate_elref(refl_coeffs: ReflectanceCoefficients, moon_data: MoonData) ndarray [source]
The calculation of the reflectance of the Moon’s disk
Simulates a lunar observation for a wavelength for any observer/solar selenographic latitude and longitude. The reflectance is calculated in fractions of unity.
- Parameters:
refl_coeffs (ReflectanceCoefficients) – ReflectanceCoefficients with the reflectances coefficients and uncertainties.
moon_data (MoonData) – Moon data needed to calculate Moon’s irradiance
- Returns:
The extraterrestrial lunar irradiance calculated using the points’ coefficients present in the reflectance coefficient matrix.
- Return type:
np.ndarray of np.ndarray of float
- lime_tbx.business.lime_algorithms.lime.elref.calculate_elref_unc(cimel_coef: ReflectanceCoefficients, moon_data: MoonData) Tuple[ndarray, ndarray] [source]
Calculates the uncertainty for the reflectance calculations of empirical data points.
This uncertainties is for the empirical CIMEL data.
- Parameters:
cimel_coef (ReflectanceCoefficients) – ReflectanceCoefficients with the CIMEL coefficients and uncertainties.
moon_data (MoonData) – Moon data needed to calculate Moon’s irradiance
- Returns:
uncs (np.ndarray of float) – The uncertainties calculated
corr (np.ndarray of float) – The error correlation matrix calculated