tardis.transport.montecarlo.estimators.radfield_mc_estimators module

class tardis.transport.montecarlo.estimators.radfield_mc_estimators.RadiationFieldMCEstimators(*args, **kwargs)[source]

Bases: RadiationFieldMCEstimators

class_type = jitclass.RadiationFieldMCEstimators#7feddca11e80<j_estimator:array(float64, 1d, A),nu_bar_estimator:array(float64, 1d, A),j_blue_estimator:array(float64, 2d, A),Edotlu_estimator:array(float64, 2d, A),photo_ion_estimator:array(float64, 2d, A),stim_recomb_estimator:array(float64, 2d, A),bf_heating_estimator:array(float64, 2d, A),stim_recomb_cooling_estimator:array(float64, 2d, A),photo_ion_estimator_statistics:array(int64, 2d, A)>
tardis.transport.montecarlo.estimators.radfield_mc_estimators.initialize_estimator_statistics(tau_sobolev_shape, gamma_shape)[source]

Initializes the estimators used in the Monte Carlo simulation.

Parameters:
tau_sobolev_shapetuple

Shape of the array with the Sobolev optical depth.

gamma_shapetuple

Shape of the array with the photoionization rate coefficients.

Returns:
Estimators

The initialized estimators.

Examples

>>> tau_sobolev_shape = (10, 20)
>>> gamma_shape = (5, 5)
>>> initialize_estimators(tau_sobolev_shape, gamma_shape)
<Estimators object at 0x...>