Skip to content

Commit fc2e160

Browse files
committed
hotfix: phase difference calculation
1 parent d426151 commit fc2e160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def analyze_aoa(phasor1, phasor2, rssi1, rssi2, L, wavelength, aoa_scan, true_an
7070
- dict: Dictionary with AoA estimates and spectra for all methods
7171
"""
7272
# 1. Phase difference method
73-
dphi = dm.compute_phase_difference(phasor1, phasor2)
74-
theta_ph = dm.phase_difference_aoa(dphi, L, wavelength)
73+
dphi = pad.compute_phase_difference(phasor1, phasor2)
74+
theta_ph = pad.phase_difference_aoa(dphi, L, wavelength)
7575
# 2. Beamforming methods
7676
B_ds, B_w, theta_ds, theta_w = bf.beamforming_spectrum_calculation(
7777
phasor1, phasor2, rssi1, rssi2, L, wavelength, aoa_scan)

0 commit comments

Comments
 (0)