tardis.transport.montecarlo.estimators.radfield_estimator_calcs module¶
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_base_estimators(r_packet, distance, estimator_state, comov_nu, comov_energy)[source]¶
 Updating the estimators
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_bound_free_estimators(comov_nu, comov_energy, shell_id, distance, estimator_state, t_electron, x_sect_bfs, current_continua, bf_threshold_list_nu)[source]¶
 Update the estimators for bound-free processes.
- Parameters:
 - comov_nufloat
 - comov_energyfloat
 - shell_idint
 - distancefloat
 - numba_estimatortardis.transport.montecarlo.numba_interface.Estimators
 - t_electronfloat
 Electron temperature in the current cell.
- x_sect_bfsnumpy.ndarray, dtype float
 Photoionization cross-sections of all bound-free continua for which absorption is possible for frequency
comov_nu.- current_continuanumpy.ndarray, dtype int
 Continuum ids for which absorption is possible for frequency
comov_nu.- bf_threshold_list_nunumpy.ndarray, dtype float
 Threshold frequencies for photoionization sorted by decreasing frequency.
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_line_estimators(radfield_mc_estimators, r_packet, cur_line_id, distance_trace, time_explosion, enable_full_relativity)[source]¶
 Function to update the line estimators
- Parameters:
 - estimatorstardis.transport.montecarlo.numba_interface.Estimators
 - r_packettardis.transport.montecarlo.r_packet.RPacket
 - cur_line_idint
 - distance_tracefloat
 - time_explosionfloat