Skip to content

Commit

Permalink
fix bug in root-music
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiim committed Mar 17, 2024
1 parent ac59775 commit 1e887fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classical_doa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
__author__ = 'Qian Xu'
2 changes: 1 addition & 1 deletion classical_doa/algorithm/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def root_music(received_data, num_signal, array, signal_fre,
noise_space = get_noise_space(np.cov(received_data), num_signal)

num_antennas = array.num_antennas
antenna_spacing = array.array_position[1] - array.array_position[0]
antenna_spacing = array.array_position[1][1] - array.array_position[0][1]

# Since the polynomial solving function provided by numpy requires the
# coefficients of the polynomial as input, and extracting the coefficients
Expand Down

0 comments on commit 1e887fc

Please sign in to comment.