Skip to content

Commit

Permalink
Fixing bug of filter stage data being copies of antennas_iq data
Browse files Browse the repository at this point in the history
  • Loading branch information
RemingtonRohel committed Jan 24, 2025
1 parent 22efc90 commit 1b382f0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/data_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,14 +517,11 @@ def _write_antenna_iq_params(
/ stage_data.rx_sample_rate
)
stage_data.sample_time = sample_timing_s * 1e6
final_data_params[slice_num][stage] = stage_data

for slice_num, slice_ in final_data_params.items():
for stage, params in slice_.items():
two_hr_file_with_type = self.slice_filenames[slice_num].format(
ext=f"{stage}_iq"
)
self._write_file(params, two_hr_file_with_type, "antennas_iq")
self._write_file(stage_data, two_hr_file_with_type, "antennas_iq")

def _write_raw_rf_params(
self, slice_data: SliceData, parsed_data: Aggregator, sample_rate: float
Expand Down

0 comments on commit 1b382f0

Please sign in to comment.