sasktran2.constituent.ExtinctionScatterer#
- class sasktran2.constituent.ExtinctionScatterer(optical_property: OpticalProperty, altitudes_m: array, extinction_per_m: array, extinction_wavelength_nm: float, out_of_bounds_mode: str = 'zero', **kwargs)[source]#
Bases:
NumberDensityScattererA scattering constituent that is defined by a number density on an altitude grid and an optical property
- Parameters:
optical_property (OpticalProperty) – The optical property defining the scattering information
altitudes_m (np.array) – The altitude grid in [m]
extinction_per_m (np.array) – Extinction in [m^-1]
extinction_wavelength_nm (float) – Wavelength that the extinction profile is specified at
out_of_bounds_mode (str, optional) – Interpolation mode outside of the boundaries, “extend” and “zero” are supported, by default “zero”
kwargs (dict) – Additional arguments passed to the optical property
- __init__(optical_property: OpticalProperty, altitudes_m: array, extinction_per_m: array, extinction_wavelength_nm: float, out_of_bounds_mode: str = 'zero', **kwargs) None[source]#
A scattering constituent that is defined by a number density on an altitude grid and an optical property
- Parameters:
optical_property (OpticalProperty) – The optical property defining the scattering information
altitudes_m (np.array) – The altitude grid in [m]
extinction_per_m (np.array) – Extinction in [m^-1]
extinction_wavelength_nm (float) – Wavelength that the extinction profile is specified at
out_of_bounds_mode (str, optional) – Interpolation mode outside of the boundaries, “extend” and “zero” are supported, by default “zero”
kwargs (dict) – Additional arguments passed to the optical property
Methods
__init__(optical_property, altitudes_m, ...)A scattering constituent that is defined by a number density on an altitude grid and an optical property
add_to_atmosphere(atmo)register_derivative(atmo, name)Attributes
altitudes_mextinction_per_mnumber_density