tardis.energy_input.GXPacket module

class tardis.energy_input.GXPacket.GXPacket(*args, **kwargs)[source]

Bases: GXPacket

Indivisible gamma-ray packet

class_type = jitclass.GXPacket#7f32ea0c5b80<location:array(float64, 1d, A),direction:array(float64, 1d, A),energy_rf:float64,energy_cmf:float64,nu_rf:float64,nu_cmf:float64,status:int64,shell:int64,time_current:float64,tau:float64>
class tardis.energy_input.GXPacket.GXPacketCollection(location, direction, energy_rf, energy_cmf, nu_rf, nu_cmf, status, shell, time_current)[source]

Bases: object

Gamma-ray packet collection

class tardis.energy_input.GXPacket.GXPacketStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

BETA_DECAY = -1
COMPTON_SCATTER = 0
END = 4
ESCAPED = 5
IN_PROCESS = 3
PAIR_CREATION = 2
PHOTOABSORPTION = 1
tardis.energy_input.GXPacket.initialize_packet_properties(isotope_energy, isotope_intensity, positronium_energy, positronium_intensity, positronium_fraction, packet_energy, k, tau_start, tau_end, initial_radius, times, effective_times, average_power_per_mass, uniform_packet_energies=True)[source]

Initialize the properties of an individual packet

Parameters:
isotope_energynumpy array

_description_

isotope_intensitynumpy array

_description_

positronium_energynumpy array

_description_

positronium_intensitynumpy array

_description_

positronium_fractionfloat

_description_

packet_energyfloat

_description_

kint

_description_

tau_startfloat

_description_

tau_endfloat

_description_

initial_radiusfloat

_description_

timesnumpy array

_description_

effective_timesnumpy array

_description_

Returns:
_type_

_description_