tardis.transport.montecarlo.packets.trackers.tracker_full module

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

Bases: TrackerFull

Numba JITCLASS for storing interaction information for RPacket instances.

Tracks all packet events with before/after shell IDs and interaction data.

Parameters:
lengthint

Initial length of tracking arrays.

Attributes:
rnb.float64[:]

Radius of the RPacket at each event.

shell_idnb.int64[:]

Shell ID where the RPacket is located at each event.

before_shell_idnb.int64[:]

Shell ID before each event (same as shell_id except for boundary events).

after_shell_idnb.int64[:]

Shell ID after each event (same as shell_id except for boundary events).

interaction_typenb.int64[:]

Type of interaction undergone by the RPacket at each event.

statusnb.int64[:]

Status of the RPacket at each event.

before_nunb.float64[:]

Frequency before each interaction.

before_munb.float64[:]

Cosine of angle before each interaction.

before_energynb.float64[:]

Energy before each interaction.

after_nunb.float64[:]

Frequency after each interaction.

after_munb.float64[:]

Cosine of angle after each interaction.

after_energynb.float64[:]

Energy after each interaction.

line_absorb_idnb.int64[:]

Line ID for absorbed line interactions.

line_emit_idnb.int64[:]

Line ID for emitted line interactions.

event_idnb.int64

Current event counter.

extend_factornb.int64

Factor by which to extend arrays when capacity is reached.

Initialize the RPacketTracker with arrays for tracking packet events.

Parameters:
lengthint

Initial length of the tracking arrays.

after_energy: Array(float64, 1, 'A', False, aligned=True)
after_mu: Array(float64, 1, 'A', False, aligned=True)
after_nu: Array(float64, 1, 'A', False, aligned=True)
after_shell_id: Array(int64, 1, 'A', False, aligned=True)
before_energy: Array(float64, 1, 'A', False, aligned=True)
before_mu: Array(float64, 1, 'A', False, aligned=True)
before_nu: Array(float64, 1, 'A', False, aligned=True)
before_shell_id: Array(int64, 1, 'A', False, aligned=True)
class_type = jitclass.TrackerFull#7fe3f7c0ec50<radius:array(float64, 1d, A),before_shell_id:array(int64, 1d, A),after_shell_id:array(int64, 1d, A),interaction_type:array(int64, 1d, A),status:array(int64, 1d, A),before_nu:array(float64, 1d, A),before_mu:array(float64, 1d, A),before_energy:array(float64, 1d, A),after_nu:array(float64, 1d, A),after_mu:array(float64, 1d, A),after_energy:array(float64, 1d, A),line_absorb_id:array(int64, 1d, A),line_emit_id:array(int64, 1d, A),event_id:int64,extend_factor:int64>
event_id: int64
extend_factor: int64
interaction_type: Array(int64, 1, 'A', False, aligned=True)
line_absorb_id: Array(int64, 1, 'A', False, aligned=True)
line_emit_id: Array(int64, 1, 'A', False, aligned=True)
radius: Array(float64, 1, 'A', False, aligned=True)
status: Array(int64, 1, 'A', False, aligned=True)