tardis.transport.montecarlo.estimators.radfield_estimator_calcs module¶
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_estimators_bound_free(comov_nu: float, comov_energy: float, shell_id: int, distance: float, estimators_continuum: EstimatorsContinuum, t_electron: float, x_sect_bfs, current_continua, bf_threshold_list_nu, chi_ff: float) None[source]¶
Update the estimators for bound-free processes in place by thread.
- Parameters:
- comov_nu
Comoving frame frequency.
- comov_energy
Comoving frame energy.
- shell_id
Current cell index.
- distance
Distance traveled by the packet in the current shell.
- estimators_continuum
Continuum interaction estimators.
- t_electron
Electron temperature in the current cell.
- x_sect_bfs
Photoionization cross-sections of all bound-free continua for which absorption is possible for frequency
comov_nu.- current_continua
Continuum ids for which absorption is possible for frequency
comov_nu.- bf_threshold_list_nu
Threshold frequencies for photoionization sorted by decreasing frequency.
- chi_ff
Free-free opacity coefficient in the current cell.
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_estimators_bulk(r_packet, distance: float, estimators_bulk: EstimatorsBulk, comov_nu: float, comov_energy: float) None[source]¶
Update cell-level bulk radiation field estimators.
- Parameters:
- r_packet
The radiative packet being transported.
- distance
Distance traveled by the packet.
- estimators_bulk
Cell-level bulk radiation field estimators.
- comov_nu
Comoving frame frequency.
- comov_energy
Comoving frame energy.
- tardis.transport.montecarlo.estimators.radfield_estimator_calcs.update_estimators_line(estimators_line: EstimatorsLine, r_packet, cur_line_id: int, distance_trace: float, time_explosion: float, enable_full_relativity: bool) None[source]¶
Update line-level radiation field estimators in place by thread.
- Parameters:
- estimators_line
Line-level radiation field estimators.
- r_packet
The radiative packet being transported.
- cur_line_id
Current line index.
- distance_trace
Distance traced by the packet.
- time_explosion
Time since explosion in seconds.
- enable_full_relativity
Flag to enable full relativistic treatment.