diff --git a/scos_actions/actions/acquire_single_freq_fft.py b/scos_actions/actions/acquire_single_freq_fft.py index d1ec2aba..61769662 100644 --- a/scos_actions/actions/acquire_single_freq_fft.py +++ b/scos_actions/actions/acquire_single_freq_fft.py @@ -178,10 +178,6 @@ def execute(self, schedule_entry: dict, task_id: int) -> dict: # Save measurement results measurement_result["data"] = m4s_result measurement_result.update(self.parameters) - if self.cal_adjust: - measurement_result[ - "calibration_datetime" - ] = self.sensor.signal_analyzer.sensor_calibration_data["datetime"] measurement_result["task_id"] = task_id measurement_result["classification"] = self.classification diff --git a/scos_actions/actions/acquire_single_freq_tdomain_iq.py b/scos_actions/actions/acquire_single_freq_tdomain_iq.py index a6d2cf2e..8f359531 100644 --- a/scos_actions/actions/acquire_single_freq_tdomain_iq.py +++ b/scos_actions/actions/acquire_single_freq_tdomain_iq.py @@ -89,10 +89,6 @@ 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 - if self.cal_adjust: - measurement_result[ - "calibration_datetime" - ] = self.sensor.signal_analyzer.sensor_calibration_data["datetime"] measurement_result["classification"] = self.classification sigan_settings = self.get_sigan_settings(measurement_result) logger.debug(f"sigan settings:{sigan_settings}") diff --git a/scos_actions/actions/interfaces/measurement_action.py b/scos_actions/actions/interfaces/measurement_action.py index 88a0a239..62f8fedd 100644 --- a/scos_actions/actions/interfaces/measurement_action.py +++ b/scos_actions/actions/interfaces/measurement_action.py @@ -104,12 +104,6 @@ def create_metadata( self.sigmf_builder.set_classification(measurement_result["classification"]) except KeyError: logger.warning(warning_str.format("classification")) - try: - self.sigmf_builder.set_last_calibration_time( - measurement_result["calibration_datetime"] - ) - except KeyError: - logger.warning(warning_str.format("calibration_datetime")) try: cap = measurement_result["capture_segment"] logger.debug(f"Adding capture:{cap}") diff --git a/scos_actions/metadata/sigmf_builder.py b/scos_actions/metadata/sigmf_builder.py index 2a838d82..e9f6b2fd 100644 --- a/scos_actions/metadata/sigmf_builder.py +++ b/scos_actions/metadata/sigmf_builder.py @@ -426,11 +426,6 @@ def add_annotation(self, start_index, length, annotation_md): start_index=start_index, length=length, metadata=annotation_md ) - def set_last_calibration_time(self, last_cal_time): - self.sigmf_md.set_global_field( - "ntia-sensor:calibration_datetime", last_cal_time - ) - def add_to_global(self, key, value): self.sigmf_md.set_global_field(key, value)