tardis.transport.montecarlo.packets.trackers.tracker_last_interaction module

class tardis.transport.montecarlo.packets.trackers.tracker_last_interaction.TrackerLastInteraction(*args, **kwargs)[source]

Bases: TrackerLastInteraction

Initialize properties with default values. Float values are initialized with NaN for better data quality tracking.

after_energy: float64
after_mu: float64
after_nu: float64
before_energy: float64
before_mu: float64
before_nu: float64
class_type = jitclass.TrackerLastInteraction#7fe3fd45be30<r:float64,nu:float64,mu:float64,energy:float64,shell_id:int64,interaction_type:int64,before_nu:float64,before_mu:float64,before_energy:float64,after_nu:float64,after_mu:float64,after_energy:float64,interaction_line_absorb_id:int64,interaction_line_emit_id:int64,interactions_count:int64>
energy: float64
interaction_line_absorb_id: int64
interaction_line_emit_id: int64
interaction_type: int64
interactions_count: int64

Numba JITCLASS for storing the last interaction the RPacket undergoes, with unified tracking for all interaction types.

Parameters:
rfloat

Radius of the shell where the RPacket is present

nufloat

Frequency of the RPacket

energyfloat

Energy possessed by the RPacket

shell_idint

Current Shell No in which the last interaction happened

interaction_type: int

Type of interaction the rpacket undergoes

interaction_before_*float

Properties before interaction (nu, mu, energy)

interaction_after_*float

Properties after interaction (nu, mu, energy)

interaction_line_absorb_idint

Line ID for absorbed line interactions (-1 for non-line interactions)

interaction_line_emit_idint

Line ID for emitted line interactions (-1 for non-line interactions)

interactions_countint

Count of interactions

mu: float64
nu: float64
r: float64
shell_id: int64