tabulate_lunar_spectra¶
- nsb2.emitter.moon.tabulate_lunar_spectra(rolo_table, wvl, solar_spectrum)[source]¶
Tabulate reflected solar spectra over phase angle and libration.
- Parameters:
rolo_table (numpy.ndarray) – Coefficient table from
load_rolo_table().wvl (astropy.units.Quantity) – Wavelength grid, shape
(W,).solar_spectrum (astropy.units.Quantity) – Solar spectral flux density on that grid, shape
(W,).
- Returns:
phase_angles (numpy.ndarray) – The tabulated signed phase angles in radians, shape
(N_PHASE_SAMPLES,), spanning[-pi, pi].spectra (astropy.units.Quantity) – Reflected photon spectra, shape
(N_PHASE_SAMPLES, W, 3). The trailing axis holds the three libration variants, ordered so that they bracket the albedo uncertainty.
Notes
The libration variants are offsets in the observer’s selenographic longitude alone. They are deliberately independent of the phase angle: the two are separate arguments to the ROLO fit, and coupling them drives the libration polynomial far outside the range it was derived over, where its fifth-power term diverges.
Because the fit omits the Sun’s selenographic coordinates it is even in phase angle, so the tabulated axis is symmetric about full Moon. It is still tabulated signed, over
[-pi, pi], to match the convention oflunar_phase_angle()and to leave room for a waxing/waning asymmetry once those terms are added.