tardis.transport.montecarlo.montecarlo_main_loop module¶
- tardis.transport.montecarlo.montecarlo_main_loop.montecarlo_main_loop(packet_collection, geometry_state, time_explosion, opacity_state, montecarlo_configuration, estimators, spectrum_frequency_grid, rpacket_trackers, number_of_vpackets, iteration, show_progress_bars, total_iterations)[source]¶
This is the main loop of the MonteCarlo routine that generates packets and sends them through the ejecta.
- Parameters:
- packet_collectionPacketCollection
Real packet collection
- geometry_stateGeometryState
Simulation geometry
- time_explosionfloat
Time in seconds
- opacity_stateOpacityState
- estimatorsEstimators
- spectrum_frequency_gridastropy.units.Quantity
Frequency bins
- number_of_vpacketsint
VPackets released per interaction
- iterationint
Current iteration number
- show_progress_barsbool
Display progress bars
- total_iterationsint
Maximum number of iterations