NuRadioReco.modules.LOFAR.beamformingDirectionFitter_LOFAR module
- NuRadioReco.modules.LOFAR.beamformingDirectionFitter_LOFAR.geometric_delays(ant_positions, sky)[source]
Returns geometric delays in a matrix.
- Parameters:
- ant_positionsnp.ndarray
The antenna positions to use, formatted as a (nr_of_ant, 3) shaped array.
- skynp.ndarray
The unit vector pointing to the arrival direction, in cartesian coordinates.
- Returns:
- delaysnp.ndarray
- class NuRadioReco.modules.LOFAR.beamformingDirectionFitter_LOFAR.beamformingDirectionFitter[source]
Bases:
object
Fits the direction per station using interferometry between all the channels with a good enough signal.
Methods
begin
(max_iter[, cr_snr, logger_level])Set the values for the fitting procedures.
run
(event, detector)reconstruct signal arrival direction for all events through beam forming.
end
- begin(max_iter, cr_snr=3, logger_level=0)[source]
Set the values for the fitting procedures.
- Parameters:
- max_iterint
The maximum number of iterations to use during the fitting procedure
- cr_snrfloat, default=3
The minimum SNR a channel should have to be considered having a CR signal.
- logger_levelint, default=logging.NOTSET
Use this parameter to override the logging level for this module.
- run(event, detector)[source]
reconstruct signal arrival direction for all events through beam forming. https://arxiv.org/pdf/1009.0345.pdf
- Parameters:
- event: Event
The event to run the module on
- detector: Detector
The detector object