Skip to content

Commit

Permalink
fix bug in multi freq IQ action, small change to mock sigan recompute…
Browse files Browse the repository at this point in the history
…_sensor_calibration_data
  • Loading branch information
jhazentia committed Feb 29, 2024
1 parent 3eaf79e commit a70ce1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scos_actions/actions/acquire_stepped_freq_tdomain_iq.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int):
sensor_cal["compression_point"] = sensor_cal.pop(
"1db_compression_point"
)
capture_segment.sensor_calibration = ntia_sensor.Calibration(
**sensor_cal
)
capture_segment.sensor_calibration = ntia_sensor.Calibration(
**sensor_cal
)
measurement_result["capture_segment"] = capture_segment

self.create_metadata(measurement_result, recording_id)
Expand Down
2 changes: 1 addition & 1 deletion scos_actions/hardware/mocks/mock_sigan.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def update_calibration(self, params):
def recompute_sensor_calibration_data(self, cal_args: list) -> None:
if self.sensor_calibration is not None:
self.sensor_calibration_data.update(
self._sensor_calibration.get_calibration_dict(cal_args)
self.sensor_calibration.get_calibration_dict(cal_args)
)
else:
logger.warning("Sensor calibration does not exist.")
Expand Down

0 comments on commit a70ce1b

Please sign in to comment.