solrat.atom_model.shared.common_api.constant_property_slab module

class solrat.atom_model.shared.common_api.constant_property_slab.ConstantPropertySlabAtmosphere(model: Model, radiation_tensor: BaseRadiationTensor, atmosphere_parameters: BaseAtmosphereParameters, angles: Angles, line_delta_tau: float, continuum_delta_tau: float)[source]

Bases: object

A slab with constant atmospheric properties throughout its depth. Solves the radiative transfer equation using DELO method.

\[ \begin{align}\begin{aligned}dStokes/dtau_line = K_tau_line * Stokes - epsilon_tau_line + Stokes / eta_LC - BP(T) eI / eta_LC\\eta_LC = tau_line / tau_continuum\\Stokes[tau->+inf] -> BP(T0)\end{aligned}\end{align} \]
Parameters:
  • model – Model instance

  • radiation_tensor – RadiationTensor instance (not used if SEE is MultiTermAtomSEELTE)

  • line_delta_tau – Optical thickness in line core. Avoid tiny/huge values for stability.

  • continuum_delta_tau – Optical thickness of continuum. Avoid tiny/huge values for stability.

  • angles – Angles instance

  • atmosphere_parameters – AtmosphereParameters instance

Reference: modified (9.35-9.37)

property rte: BaseRTE
property rtc: RadiativeTransferCoefficients
forward(initial_stokes: Stokes) Stokes[source]

Solve radiative transfer through the constant property slab using DELO method.

\[ \begin{align}\begin{aligned}dStokes/dtau_line = K_tau_line * Stokes - epsilon_tau_line + Stokes / eta_LC - BP(T) eI / eta_LC\\eta_LC = tau_line / tau_continuum\\Stokes[tau->+inf] -> BP(T0)\end{aligned}\end{align} \]
Parameters:

initial_stokes – Initial Stokes vector that is entering the slab.

Reference: modified (9.36)