tardis.opacities.opacity_solver module¶
- class tardis.opacities.opacity_solver.OpacitySolver(line_interaction_type='scatter', disable_line_scattering=False)[source]¶
Bases:
object
Solver class for opacities
- Parameters:
- line_interaction_type: str
“scatter”, “downbranch”, or “macroatom”
- disable_line_scattering: bool
- legacy_solve(plasma) OpacityState [source]¶
Solves the opacity state
- Parameters:
- plasmatarids.plasma.BasePlasma
legacy base plasma
- Returns:
- OpacityState
- solve(plasma) OpacityState [source]¶
Solves the opacity state
- Parameters:
- plasmatarids.plasma.BasePlasma
legacy base plasma
- Returns:
- OpacityState