tardis.energy_input.gamma_ray_estimators module

tardis.energy_input.gamma_ray_estimators.compton_emissivity_estimator(packet, distance)[source]

Compton scattering emissivity estimator for integral calculations

Parameters:
packetGXPacket

Packet that needs its emissivity calculated

distancefloat64

Distance packet has travelled

Returns:
float64, int

Unnormalized emissivity estimator, line index

tardis.energy_input.gamma_ray_estimators.deposition_estimator_kasen(energy, ejecta_density, iron_group_fraction)[source]
tardis.energy_input.gamma_ray_estimators.get_average_compton_fraction(energy)[source]
tardis.energy_input.gamma_ray_estimators.pair_creation_estimator(packet, pair_creation_opacity, distance)[source]

Calculates the emissivity for pair creation gamma-rays

Parameters:
packetGXPacket

Packet that needs its emissivity calculated

pair_creation_opacityfloat64

Opacity of the pair creation process

distancefloat64

Distance packet has travelled

Returns:
float64

Emissivity estimator