RayleighComponent

class nyx.atmosphere.components.RayleighComponent[source]

Bases: ScatteringComponent

Rayleigh molecular scattering.

Build the component.

Parameters:
  • wvls (array-like) – Wavelength grid in nm.

  • pressure_hpa (float or None) – Station pressure. When given it fixes the air column and the observer height is ignored; otherwise the column falls back to exp(-height / scale_height_km).

  • scale_height_km (float) – Scale height of the barometric fallback.

Methods Summary

phase(cos_scattering_angle)

tau(height_km)

Methods Documentation

phase(cos_scattering_angle)[source]
tau(height_km)[source]
__init__(wvls, pressure_hpa=None, scale_height_km=8.0)[source]

Build the component.

Parameters:
  • wvls (array-like) – Wavelength grid in nm.

  • pressure_hpa (float or None) – Station pressure. When given it fixes the air column and the observer height is ignored; otherwise the column falls back to exp(-height / scale_height_km).

  • scale_height_km (float) – Scale height of the barometric fallback.

static __new__(cls, *args, **kwargs)