tardis.montecarlo package¶
Subpackages¶
- tardis.montecarlo.estimators package
- tardis.montecarlo.montecarlo_numba package
- Submodules
- tardis.montecarlo.montecarlo_numba.base module
- tardis.montecarlo.montecarlo_numba.formal_integral module
- tardis.montecarlo.montecarlo_numba.formal_integral_cuda module
- tardis.montecarlo.montecarlo_numba.interaction module
adiabatic_cooling()
bf_cooling()
bound_free_emission()
continuum_event()
determine_bf_macro_activation_idx()
determine_continuum_macro_activation_idx()
free_free_emission()
get_current_line_id()
line_emission()
line_scatter()
macro_atom_event()
sample_nu_free_bound()
sample_nu_free_free()
thomson_scatter()
- tardis.montecarlo.montecarlo_numba.macro_atom module
- tardis.montecarlo.montecarlo_numba.nonhomologous_grid module
- tardis.montecarlo.montecarlo_numba.numba_config module
- tardis.montecarlo.montecarlo_numba.numba_interface module
- tardis.montecarlo.montecarlo_numba.opacities module
calculate_tau_electron()
chi_bf_interpolator()
chi_continuum_calculator()
chi_electron_calculator()
chi_ff_calculator()
compton_opacity_calculation()
compton_opacity_partial()
get_current_bound_free_continua()
pair_creation_opacity_artis()
pair_creation_opacity_calculation()
photoabsorption_opacity_calculation()
photoabsorption_opacity_calculation_kasen()
- tardis.montecarlo.montecarlo_numba.packet_collections module
- tardis.montecarlo.montecarlo_numba.r_packet module
- tardis.montecarlo.montecarlo_numba.single_packet_loop module
- tardis.montecarlo.montecarlo_numba.utils module
- tardis.montecarlo.montecarlo_numba.vpacket module
- Module contents
- Submodules
Submodules¶
- tardis.montecarlo.base module
- tardis.montecarlo.montecarlo_configuration module
- tardis.montecarlo.montecarlo_transport_state module
MonteCarloTransportState
MonteCarloTransportState.calculate_emitted_luminosity()
MonteCarloTransportState.calculate_radiationfield_properties()
MonteCarloTransportState.calculate_reabsorbed_luminosity()
MonteCarloTransportState.emitted_packet_luminosity
MonteCarloTransportState.emitted_packet_mask
MonteCarloTransportState.emitted_packet_nu
MonteCarloTransportState.hdf_name
MonteCarloTransportState.hdf_properties
MonteCarloTransportState.integrator
MonteCarloTransportState.j_estimator
MonteCarloTransportState.last_interaction_in_nu
MonteCarloTransportState.last_interaction_type
MonteCarloTransportState.last_line_interaction_in_id
MonteCarloTransportState.last_line_interaction_out_id
MonteCarloTransportState.last_line_interaction_shell_id
MonteCarloTransportState.montecarlo_emitted_luminosity
MonteCarloTransportState.montecarlo_reabsorbed_luminosity
MonteCarloTransportState.montecarlo_virtual_luminosity
MonteCarloTransportState.nu_bar_estimator
MonteCarloTransportState.output_energy
MonteCarloTransportState.output_nu
MonteCarloTransportState.packet_luminosity
MonteCarloTransportState.reabsorbed_packet_luminosity
MonteCarloTransportState.reabsorbed_packet_nu
MonteCarloTransportState.spectrum
MonteCarloTransportState.spectrum_integrated
MonteCarloTransportState.spectrum_reabsorbed
MonteCarloTransportState.spectrum_virtual
MonteCarloTransportState.time_of_simulation
MonteCarloTransportState.virt_logging
MonteCarloTransportState.virt_packet_energies
MonteCarloTransportState.virt_packet_initial_mus
MonteCarloTransportState.virt_packet_initial_rs
MonteCarloTransportState.virt_packet_last_interaction_in_nu
MonteCarloTransportState.virt_packet_last_interaction_type
MonteCarloTransportState.virt_packet_last_line_interaction_in_id
MonteCarloTransportState.virt_packet_last_line_interaction_out_id
MonteCarloTransportState.virt_packet_last_line_interaction_shell_id
MonteCarloTransportState.virt_packet_nus
MonteCarloTransportState.virtual_packet_luminosity
MonteCarloTransportState.vpacket_hdf_properties
- tardis.montecarlo.packet_source module
BasePacketSource
BlackBodySimpleSource
BlackBodySimpleSource.create_packet_energies()
BlackBodySimpleSource.create_packet_mus()
BlackBodySimpleSource.create_packet_nus()
BlackBodySimpleSource.create_packet_radii()
BlackBodySimpleSource.create_packets()
BlackBodySimpleSource.from_simulation_state()
BlackBodySimpleSource.set_temperature_from_luminosity()
BlackBodySimpleSourceRelativistic
- tardis.montecarlo.spectrum module
Module contents¶
Faciliating the MonteCarlo iterations.
During a simulation run, a number of MonteCarlo iterations specified in the configuration are run using the numba compiler. Most of the iterations are used to calculate the steady-state plasma properties and with the last iteration, the spectrum is determined.