Skip to content

Commit

Permalink
rpi optimzation
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Mar 15, 2024
1 parent d1e0fbc commit 1f8e42a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spf/rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@ def beamformer_given_steering(
steering_vectors,
signal_matrix,
):
r = beamformer_given_steering_core(steering_vectors, signal_matrix)
return r.sum(axis=1) / r.shape[1]
return beamformer_given_steering_core(steering_vectors, signal_matrix).mean(axis=1)


def beamformer_thetas(spacing):
Expand Down

0 comments on commit 1f8e42a

Please sign in to comment.