sasktran2.constituent.ExtinctionScatterer2D#

class sasktran2.constituent.ExtinctionScatterer2D(optical_property: OpticalProperty, extinction_per_m: ndarray, extinction_wavelength_nm: float, **kwargs)[source]#

Bases: NumberDensityScatterer2D

A 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 at extinction_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^-1 with shape (horizontal, altitude).

  • extinction_wavelength_nm (float) – Wavelength in nanometres at which extinction_per_m is 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

extinction_per_m

Reference extinction in (horizontal, altitude) order.

extinction_wavelength_nm

Wavelength in nanometres used to normalize the extinction.

number_density

Particle number density in (horizontal, altitude) order.

volume_spatial_mode

Spatial input mode used when adding the constituent to an atmosphere.

property extinction_per_m: ndarray#

Reference extinction in (horizontal, altitude) order.

property extinction_wavelength_nm: float#

Wavelength in nanometres used to normalize the extinction.