NuRadioReco.modules.channelSignalReconstructor module

class NuRadioReco.modules.channelSignalReconstructor.channelSignalReconstructor(log_level=0)[source]

Bases: object

Calculates basic signal parameters.

Methods

begin([debug, signal_window_start, ...])

Parameters:

get_SNR(station_id, channel, det[, ...])

Parameters:

run(evt, station, det[, stored_noise, rms_stage])

Parameters:

end

begin(debug=False, signal_window_start=None, signal_window_length=120, noise_window_start=None, noise_window_length=None)[source]
Parameters:
debug: bool

Set module to debug output

signal_window_start: float or None

Start time (relative to the trace start time) of the window in which signal quantities will be calculated, with time units If None is passed as a parameter, the signal window is laid around the trace maximum

signal_window_length: float

Length of the signal window, with time units

noise_window_start: float or None

Start time (relative to the trace start time) of the window in which noise quantities will be calculated, with time units If noise_window_start or noise_window_length are None, the noise window is the part of the trace outside the signal window

noise_window_length: float or None

Length of the noise window, with time units If noise_window_start or noise_window_length are None, the noise window is the part of the trace outside the signal window

get_SNR(station_id, channel, det, stored_noise=False, rms_stage=None)[source]
Parameters:
station_id: int

ID of the station

channel, det

Channel, Detector

stored_noise: bool

Calculates noise from pre-computed forced triggers

rms_stage: string

See functionality of det.get_noise_RMS

Returns:
SNR: dict

dictionary of various SNR parameters

run(evt, station, det, stored_noise=False, rms_stage='amp')[source]
Parameters:
evt, station, det

Event, Station, Detector

stored_noise: bool

Calculates noise from pre-computed forced triggers

rms_stage: string

See functionality of det.get_noise_RMS

end()[source]