tardis.transport.montecarlo.estimators.mc_rad_field_solver module¶
- class tardis.transport.montecarlo.estimators.mc_rad_field_solver.MCRadiationFieldPropertiesSolver(w_epsilon=1e-10)[source]¶
Bases:
object
- estimate_jblues(j_blue_estimator, estimated_radfield_state, time_explosion, time_of_simulation, volume, line_list_nu)[source]¶
- solve(radfield_mc_estimators, time_explosion, time_of_simulation, volume, line_list_nu)[source]¶
Calculate an updated radiation field from the :math:
bar{nu}_textrm{estimator}
and \(\J_\textrm{estimator}\) calculated in the montecarlo simulation. The details of the calculation can be found in the documentation.- Parameters:
- nubar_estimatornp.ndarray (float)
- j_estimatornp.ndarray (float)
- Returns:
- t_radiativeastropy.units.Quantity (float)
- dilution_factornumpy.ndarray (float)
- w_epsilon = 1e-10¶