tardis.transport.montecarlo.r_packet_transport module¶
- tardis.transport.montecarlo.r_packet_transport.move_packet_across_shell_boundary(packet, delta_shell, no_of_shells)[source]¶
 Move packet across shell boundary - realizing if we are still in the simulation or have moved out through the inner boundary or outer boundary and updating packet status.
- Parameters:
 - distancefloat
 distance to move to shell boundary
- delta_shellint
 is +1 if moving outward or -1 if moving inward
- no_of_shellsint
 number of shells in TARDIS simulation
- tardis.transport.montecarlo.r_packet_transport.move_r_packet(r_packet, distance, time_explosion, numba_estimator, enable_full_relativity)[source]¶
 Move packet a distance and recalculate the new angle mu
- Parameters:
 - r_packettardis.transport.montecarlo.r_packet.RPacket
 r_packet objects
- time_explosionfloat
 time since explosion in s
- numba_estimatortardis.transport.montecarlo.numba_interface.NumbaEstimator
 Estimators object
- distancefloat
 distance in cm
- tardis.transport.montecarlo.r_packet_transport.trace_packet(r_packet, numba_radial_1d_geometry, time_explosion, opacity_state, estimators, chi_continuum, escat_prob, enable_full_relativity, disable_line_scattering)[source]¶
 Traces the RPacket through the ejecta and stops when an interaction happens (heart of the calculation)
- 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
 
- Returns: