NuRadioReco.framework.base_shower module

class NuRadioReco.framework.base_shower.BaseShower(shower_id=0)[source]

Bases: object

Methods

get_axis()

Returns the (shower) axis.

get_coordinatesystem()

Returns radiotools.coordinatesystem.cstrafo for shower geometry.

deserialize

get_id

get_parameter

has_parameter

serialize

set_parameter

get_id()[source]
get_parameter(key)[source]
set_parameter(key, value)[source]
has_parameter(key)[source]
get_axis()[source]

Returns the (shower) axis.

The axis is antiparallel to the movement of the shower particla and point towards the origin of the shower.

Returns:
np.array(3,)

Shower axis

get_coordinatesystem()[source]

Returns radiotools.coordinatesystem.cstrafo for shower geometry.

Can be used to transform the radio pulses or the observer coordiates in the shower frame. Requieres the shower arrival direction (azimuth and zenith angle) and magnetic field vector (parameters.showerParameters).

Returns:
radiotools.coordinatesystem.cstrafo
serialize()[source]
deserialize(data_pkl)[source]