lime_tbx.business.lime_algorithms.lime.eli module

This module calculates the extra-terrestrial lunar irradiance.

It exports the following functions:
  • calculate_eli_from_elref - Calculates the expected extra-terrestrial lunar irradiances

    for some given wavelengths in nanometers. Based on Eq 3 in Roman et al., 2020. The reflectance is given as a parameter.

  • calculate_eli_from_elref_unc - Calculates the uncertainties of the calculation of the

    expected extra-terrestrial lunar irradiances for some given wavelengths in nanometers. Based on Eq 3 in Roman et al., 2020. The reflectance is given as a parameter.

lime_tbx.business.lime_algorithms.lime.eli.J_eli(a_l: float | ndarray, omega: float, esk: float | ndarray, dsm: float, distance_earth_moon_km: float, dom: float)[source]
lime_tbx.business.lime_algorithms.lime.eli.calculate_eli_from_elref(wavelengths_nm: ndarray, moon_data: MoonData, elrefs: ndarray, srf_type: str) ndarray[source]

Calculation of Extraterrestrial Lunar Irradiance following Eq 3 in Roman et al., 2020

Simulates a lunar observation for a wavelength for any observer/solar selenographic latitude and longitude. The irradiance is calculated in Wm⁻²/nm.

Parameters:
  • wavelength_nm (np.array of float) – Wavelengths (in nanometers) of which the extraterrestrial lunar irradiance will be calculated.

  • moon_data (MoonData) – Moon data needed to calculate Moon’s irradiance

  • elrefs (np.ndarray of float) – Reflectances previously calculated

  • srf_type (str) – SRF type that wants to be used. Can be ‘cimel’, ‘asd’, ‘interpolated_gaussian’ or ‘interpolated_triangle’

Returns:

The extraterrestrial lunar irradiance calculated

Return type:

np.ndarray of float

lime_tbx.business.lime_algorithms.lime.eli.calculate_eli_from_elref_unc(elref_spectrum: SpectralData, moon_data: MoonData, srf_type: str) Tuple[ndarray, ndarray][source]

Uncertainties of the calculation of Extraterrestrial Lunar Irradiance following Eq 3 in Roman et al., 2020

Simulates a lunar observation for a wavelength for any observer/solar selenographic latitude and longitude. The irradiance is calculated in Wm⁻²/nm.

Parameters:
  • elref_spectrum (SpectralData) – Previously calculated reflectance data.

  • moon_data (MoonData) – Moon data needed to calculate Moon’s irradiance.

  • srf_type (str) – SRF type that wants to be used. Can be ‘cimel’, ‘asd’ or ‘interpolated’.

Returns:

  • np.ndarray of float – The uncertainties calculated

  • corr (np.ndarray of float) – The error correlation matrix calculated