color_correction

nsb2.emitter.zodiacal.color_correction(wvl)[source]

Reddening of zodiacal light relative to the solar spectrum.

Zodiacal light is sunlight scattered off interplanetary dust, which reddens it, and the more so the closer to the Sun one looks. [Leinert1998] describes this as a correction factor that is unity at REFERENCE_WAVELENGTH and varies logarithmically with wavelength, with a slope that differs either side of that wavelength and between the two ends of ELONGATION_RANGE.

Parameters:

wvl (astropy.units.Quantity) – Wavelength grid, shape (W,).

Returns:

Correction factor, shape (2, W): one curve at each end of ELONGATION_RANGE, to be interpolated between.

Return type:

numpy.ndarray

Examples

>>> import astropy.units as u
>>> near, far = color_correction([300, 500, 700] * u.nm)
>>> [round(float(x), 3) for x in near]
[0.734, 1.0, 1.117]