NuRadioReco.modules.ARA.hardwareResponseIncorporator module
- class NuRadioReco.modules.ARA.hardwareResponseIncorporator.hardwareResponseIncorporator[source]
Bases:
objectIncorporates the gain and phase induced by the ARA hardware.
Methods
get_filter(frequencies[, station_id, ...])Helper function to return the filter that the module applies.
run(evt, station, det[, sim_to_data])Switch sim_to_data to go from simulation to data or otherwise.
begin
end
- get_filter(frequencies, station_id=None, channel_id=None, det=None, sim_to_data=False)[source]
Helper function to return the filter that the module applies. Loads entire system response from interpolating data of ARA_Electronics_TotalGain_TwoFilters.txt.
- Parameters:
- frequencies: array of floats
the frequency array for which the filter should be returned
- station_id: int (default None)
the station id
- channel_id: int (default None)
the channel id
- det: detector instance (default None)
the detector
- sim_to_data: bool (default False)
If False, deconvolve the hardware response. If True, convolve with the hardware response
- Returns:
- array of complex floats
the complex filter amplitudes