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
disable_line_scattering: bool = False
legacy_solve(plasma) OpacityState[source]

Solves the opacity state

Parameters:
plasmatarids.plasma.BasePlasma

legacy base plasma

Returns:
OpacityState
line_interaction_type: str = 'scatter'
solve(plasma) OpacityState[source]

Solves the opacity state

Parameters:
plasmatarids.plasma.BasePlasma

legacy base plasma

Returns:
OpacityState