tardis.montecarlo.montecarlo_numba.base module¶
- tardis.montecarlo.montecarlo_numba.base.montecarlo_main_loop(packet_collection, geometry_state, numba_model, opacity_state, estimators, spectrum_frequency, number_of_vpackets, iteration, show_progress_bars, total_iterations, enable_virtual_packet_logging)[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
- numba_modelNumbaModel
- opacity_stateOpacityState
- estimatorsEstimators
- spectrum_frequencyastropy.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
- enable_virtual_packet_loggingbool
Enable virtual packet tracking