Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Jan 27, 2024
1 parent 5799bac commit a7fb6ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spf/grbl_sdr_collect_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def prepare_record_entry(ds: DataSnapshot, rx_pos: np.array, tx_pos: np.array):
ds.rx_theta_in_pis * np.pi, # 1
ds.rx_spacing, # 1
ds.avg_phase_diff, # 2
ds.rssi, # 2
ds.rssis, # 2
ds.gains, # 2
ds.beam_sds, # 65
]
Expand Down
4 changes: 2 additions & 2 deletions spf/sdrpluto/sdr_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def rssis(self):
def gains(self):
return np.array(
[
type(self.sdr._get_iio_attr("voltage0", "hardwaregain", False)),
type(self.sdr._get_iio_attr("voltage1", "hardwaregain", False)),
self.sdr._get_iio_attr("voltage0", "hardwaregain", False),
self.sdr._get_iio_attr("voltage1", "hardwaregain", False),
]
)

Expand Down

0 comments on commit a7fb6ef

Please sign in to comment.