tardis.workflows.util module

tardis.workflows.util.get_tau_integ(plasma, simulation_state, bin_size=10)[source]

Estimate the integrated mean optical depth at each velocity bin

Parameters:
plasmatardis.plasma.BasePlasma

The tardis legacy plasma

simulation_statetardis.model.base.SimulationState

the current simulation state

bin_sizeint, optional. Default10

bin size for the aggregation of line opacities

Returns:
dict
rosslandnp.ndarray

Roassland Mean Optical Depth

plancknp.ndarray

Planck Mean Optical Depth