tardis.transport.montecarlo.macro_atom module

exception tardis.transport.montecarlo.macro_atom.MacroAtomError[source]

Bases: ValueError

class tardis.transport.montecarlo.macro_atom.MacroAtomTransitionType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

ADIABATIC_COOLING = -4
BB_EMISSION = -1
BF_COOLING = -5
BF_EMISSION = -2
FF_EMISSION = -3
INTERNAL_DOWN = 0
INTERNAL_UP = 1
TWO_PHOTON = -6
tardis.transport.montecarlo.macro_atom.macro_atom(activation_level_id, current_shell_id, opacity_state)[source]
Parameters:
activation_level_idint

Activation level idx of the macro atom.

current_shell_idint
opacity_statetardis.transport.montecarlo.numba_interface.opacity_state.OpacityState
Returns: