tardis.montecarlo.montecarlo_numba.estimators module¶
- tardis.montecarlo.montecarlo_numba.estimators.set_estimators(r_packet, distance, numba_estimator, comov_nu, comov_energy)[source]¶
Updating the estimators
- tardis.montecarlo.montecarlo_numba.estimators.update_bound_free_estimators(comov_nu, comov_energy, shell_id, distance, numba_estimator, 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.montecarlo.montecarlo_numba.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.montecarlo.montecarlo_numba.estimators.update_line_estimators(estimators, r_packet, cur_line_id, distance_trace, time_explosion)[source]¶
Function to update the line estimators
- Parameters
- estimatorstardis.montecarlo.montecarlo_numba.numba_interface.Estimators
- r_packettardis.montecarlo.montecarlo_numba.r_packet.RPacket
- cur_line_idint
- distance_tracefloat
- time_explosionfloat