Spectrum#

spectrum.spectrl2(apparent_zenith, aoi, ...)

Estimate spectral irradiance using the Bird Simple Spectral Model (SPECTRL2).

spectrum.get_example_spectral_response([...])

Generate a generic smooth spectral response (SR) for tests and experiments.

spectrum.get_am15g([wavelength])

Read the ASTM G173-03 AM1.5 global spectrum on a 37-degree tilted surface, optionally interpolated to the specified wavelength(s).

spectrum.calc_spectral_mismatch_field(sr, e_sun)

Calculate spectral mismatch between a test device and broadband reference device under specified solar spectral irradiance conditions.