sasktran2.constituent.Rayleigh#
- class sasktran2.constituent.Rayleigh(method: str = 'bates', method_kwargs: dict | None = None)[source]#
Bases:
ConstituentAn implementation of Rayleigh scattering. Cross sections (and depolarization factors) can be calculated multiple ways, with the default method being that of ‘bates’.
Rayleigh scattering number density is estimated through the ideal gas law.
This Constituent requires that the atmosphere object have temperature_k, pressure_pa, and wavelength_nm are all defined inside the
sasktran2.Atmosphereobject.- Parameters:
- Raises:
ValueError – If input method is not supported
- __init__(method: str = 'bates', method_kwargs: dict | None = None)[source]#
An implementation of Rayleigh scattering. Cross sections (and depolarization factors) can be calculated multiple ways, with the default method being that of ‘bates’.
Rayleigh scattering number density is estimated through the ideal gas law.
This Constituent requires that the atmosphere object have temperature_k, pressure_pa, and wavelength_nm are all defined inside the
sasktran2.Atmosphereobject.- Parameters:
- Raises:
ValueError – If input method is not supported
Methods
__init__([method, method_kwargs])An implementation of Rayleigh scattering.
add_to_atmosphere(atmo)register_derivative(atmo, name)