Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlueter committed Jan 14, 2025
1 parent d4e276f commit ef6496a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NuRadioReco/modules/beamFormingDirectionFitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def ll_regular_station(angles, evt, station, det, polarization, sampling_rate, p
station.set_parameter(stnp.zenith, zenith)
station.set_parameter(stnp.azimuth, azimuth)
station.set_electric_fields([]) # resets EFields, necessary
voltageToEfieldConverterPerChannel.run(evt, station, det, pol=polarization, debug=False) # Antenna response
electricFieldBandPassFilter.run(evt, station, det, passband=[120 * units.MHz, 300 * units.MHz], filter_type='butterabs')
self.voltageToEfieldConverterPerChannel.run(evt, station, det, pol=polarization, debug=False) # Antenna response
self.electricFieldBandPassFilter.run(evt, station, det, passband=[120 * units.MHz, 300 * units.MHz], filter_type='butterabs')

Efields_object = get_array_of_channels(station, det, zenith, azimuth, polarization + 1)
Efields = []
Expand Down

0 comments on commit ef6496a

Please sign in to comment.