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
- solve(legacy_plasma) OpacityState [source]¶
Solves the opacity state
- Parameters:
- plasmatarids.plasma.BasePlasma
legacy base plasma
- Returns:
- OpacityState