tardis.transport.montecarlo.single_packet_loop module

tardis.transport.montecarlo.single_packet_loop.set_packet_props_full_relativity(r_packet, time_explosion)[source]

Sets properties of the packets given full relativity

Parameters:
r_packettardis.transport.montecarlo.r_packet.RPacket
time_explosionfloat
tardis.transport.montecarlo.single_packet_loop.set_packet_props_partial_relativity(r_packet, time_explosion)[source]

Sets properties of the packets given partial relativity

Parameters:
r_packettardis.transport.montecarlo.r_packet.RPacket
time_explosionfloat
tardis.transport.montecarlo.single_packet_loop.single_packet_loop(r_packet, numba_radial_1d_geometry, time_explosion, opacity_state, estimators, vpacket_collection, rpacket_tracker, montecarlo_configuration)[source]
Parameters:
r_packettardis.transport.montecarlo.r_packet.RPacket
numba_radial_1d_geometrytardis.transport.montecarlo.numba_interface.NumbaRadial1DGeometry
time_explosionfloat
opacity_statetardis.transport.montecarlo.numba_interface.OpacityState
estimatorstardis.transport.montecarlo.numba_interface.Estimators
vpacket_collectiontardis.transport.montecarlo.numba_interface.VPacketCollection
rpacket_collectiontardis.transport.montecarlo.numba_interface.RPacketCollection
Returns:
None

This function does not return anything but changes the r_packet object and if virtual packets are requested - also updates the vpacket_collection