tardis.transport.montecarlo.modes.nonhomologous.packet_propagation module
Nonhomologous mode packet transport - line-only without continuum processes.
- tardis.transport.montecarlo.modes.nonhomologous.packet_propagation.packet_propagation(r_packet: RPacket, geometry: NumbaRadial1DGeometry, time_explosion: float, opacity_state: OpacityStateNumba, estimators_bulk: EstimatorsBulk, estimators_line: EstimatorsLine, vpacket_collection: VPacketCollection, rpacket_tracker, montecarlo_configuration: MonteCarloConfiguration) None[source]
Execute Monte Carlo transport for a single radiative packet in nonhomologous mode.
Non-homologous mode performs line-only transport without continuum processes. Only electron scattering and line interactions are handled.
- Parameters:
- r_packetRPacket
The radiative packet to transport through the ejecta.
- geometryNumbaRadial1DGeometry
The spherically symmetric geometry of the supernova ejecta.
- time_explosionfloat
Time since explosion in seconds. Accepted for interface parity with homologous transport; not used by nonhomologous transport.
- opacity_stateOpacityStateNumba
Current opacity state containing line opacities.
- estimators_bulkEstimatorsBulk
Monte Carlo estimators for cell-level bulk radiation field quantities.
- estimators_lineEstimatorsLine
Monte Carlo estimators for line-level radiation field quantities.
- vpacket_collectionVPacketCollection
Collection for storing virtual packets when enabled.
- rpacket_tracker
Tracker for recording packet interactions and trajectories.
- montecarlo_configurationMonteCarloConfiguration
Configuration parameters for the Monte Carlo simulation.
- Returns:
- None
This function modifies the r_packet object in-place and updates estimators and collections.
- tardis.transport.montecarlo.modes.nonhomologous.packet_propagation.set_packet_props_full_relativity(r_packet: RPacket, time_explosion: float) None[source]
- tardis.transport.montecarlo.modes.nonhomologous.packet_propagation.set_packet_props_partial_relativity(r_packet: RPacket, geometry: NumbaRadial1DGeometry) None[source]
Set packet properties using partial relativistic corrections.
This function applies inverse Doppler corrections to the packet frequency and energy based on partial relativistic treatment (first-order in v/c).
- Parameters:
- r_packet
The radiative packet whose properties will be modified.
- geometry
NumbaRadial1DGeometry object
- Returns:
- Modifies r_packet.nu and r_packet.energy in-place.