tardis.montecarlo.montecarlo_numba.base module¶
- tardis.montecarlo.montecarlo_numba.base.montecarlo_main_loop(packet_collection, numba_model, numba_plasma, estimators, spectrum_frequency, number_of_vpackets, packet_seeds, virtual_packet_logging, iteration, show_progress_bars, no_of_packets, total_iterations)[source]¶
This is the main loop of the MonteCarlo routine that generates packets and sends them through the ejecta.
- Parameters
- packet_collectionPacketCollection
- numba_modelNumbaModel
numba_plasma : NumbaPlasma
- estimatorsNumbaEstimators
- spectrum_frequencyastropy.units.Quantity
frequency binspas
- number_of_vpacketsint
VPackets released per interaction
- packet_seedsnumpy.array
- virtual_packet_loggingbool
Option to enable virtual packet logging.