Skip to content

Commit

Permalink
don't require datetime in sensor cal data
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Mar 6, 2024
1 parent 71dcd85 commit 4f33c3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scos_actions/actions/acquire_single_freq_fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ def execute(self, schedule_entry: dict, task_id: int) -> dict:
# Save measurement results
measurement_result["data"] = m4s_result
measurement_result.update(self.parameters)
measurement_result["calibration_datetime"] = (
self.sensor.sensor_calibration_data["datetime"]
)
# measurement_result["calibration_datetime"] = (
# self.sensor.sensor_calibration_data["datetime"]
# )
measurement_result["task_id"] = task_id
measurement_result["classification"] = self.classification

Expand Down
6 changes: 3 additions & 3 deletions scos_actions/actions/acquire_single_freq_tdomain_iq.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def execute(self, schedule_entry: dict, task_id: int) -> dict:
measurement_result.update(self.parameters)
measurement_result["end_time"] = end_time
measurement_result["task_id"] = task_id
measurement_result["calibration_datetime"] = (
self.sensor.sensor_calibration_data["datetime"]
)
# measurement_result["calibration_datetime"] = (
# self.sensor.sensor_calibration_data["datetime"]
# )
measurement_result["classification"] = self.classification
sigan_settings = self.get_sigan_settings(measurement_result)
logger.debug(f"sigan settings:{sigan_settings}")
Expand Down

0 comments on commit 4f33c3e

Please sign in to comment.