PyREx

pyrex.askaryan.AskaryanSignal.shower_signal

AskaryanSignal.shower_signal(times, energy, profile_function, potential_function, viewing_angle, viewing_distance, n, t0)

Calculate the signal values for some shower type.

Calculates the time-domain values for an Askaryan electric field (V/m) produced by a particular shower initiated by a neutrino.

Parameters
timesarray_like

1D array of times (s) for which the signal is defined.

energyfloat

Energy (GeV) of the shower.

profile_functionfunction

Function to be used for calculating the longitudinal shower profile. Should take a distance (m) and energy (GeV) and return the profile value at that depth for a shower of that energy.

potential_functionfunction

Function to be used for calculating the vector potential at the Cherenkov angle. Should take a time (s) and energy (GeV) and return the vector potential at the Cherenkov angle for a shower of that energy at that time.

viewing_anglefloat

Observation angle (radians) measured relative to the shower axis. Should be positive-valued.

viewing_distancefloat

Distance (m) between the shower vertex and the observation point (along the ray path).

nfloat

The index of refraction of the ice at the location of the shower.

t0float

Pulse offset time (s), i.e. time at which the shower takes place.

Returns
array_like

1D array of values of the signal created by the shower corresponding to the given times. Length ends up being one less than the length of times due to implementation.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation