sasktran2.constituent.ExtinctionScatterer2D#
- class sasktran2.constituent.ExtinctionScatterer2D(optical_property: OpticalProperty, extinction_per_m: ndarray, extinction_wavelength_nm: float, **kwargs)[source]#
Bases:
NumberDensityScatterer2DA Geometry2D scatterer normalized to an extinction profile.
This is the native-grid counterpart to
ExtinctionScatterer. The supplied extinction is converted to number density using the optical property’s cross section atextinction_wavelength_nm. The conversion is evaluated independently at every Geometry2D location, including the supplied optical property arguments.- Parameters:
optical_property (OpticalProperty) – Property supplying extinction, scattering, and phase-function data.
extinction_per_m (numpy.ndarray) – Extinction in
m^-1with shape(horizontal, altitude).extinction_wavelength_nm (float) – Wavelength in nanometres at which
extinction_per_mis specified.**kwargs – Additional optical-property inputs. Shape rules are identical to
NumberDensityScatterer2D.
- __init__(optical_property: OpticalProperty, extinction_per_m: ndarray, extinction_wavelength_nm: float, **kwargs) None[source]#
Methods
__init__(optical_property, extinction_per_m, ...)add_to_atmosphere(atmo)register_derivative(atmo, name)Attributes
Reference extinction in
(horizontal, altitude)order.Wavelength in nanometres used to normalize the extinction.
number_densityParticle number density in
(horizontal, altitude)order.volume_spatial_modeSpatial input mode used when adding the constituent to an atmosphere.