From 80d03df4bb74d7e8a97a5ec5ebb5e5c0720f9edb Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Fri, 26 Apr 2024 10:40:13 -0600 Subject: [PATCH] Undo mistaken commit to temporarily allow usrp to run sea action. --- scos_actions/actions/acquire_sea_data_product.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index 7fbb3711..d7b54c99 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -519,7 +519,7 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int): _ = psutil.cpu_percent(interval=None) # Initialize CPU usage monitor self.test_required_components() - #self.configure_preselector(self.rf_path) + self.configure_preselector(self.rf_path) # Initialize metadata object self.get_sigmf_builder( @@ -1155,7 +1155,9 @@ def create_capture_segment( reference=measurement_result["reference"], ), sigan_settings=ntia_sensor.SiganSettings( - gain=self.sensor.signal_analyzer.gain + reference_level=self.sensor.signal_analyzer.reference_level, + attenuation=self.sensor.signal_analyzer.attenuation, + preamp_enable=self.sensor.signal_analyzer.preamp_enable, ), ) if "compression_point" in measurement_result["applied_calibration"]: