From a56291574b281e4d9d03355b553db4f092d1d132 Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Tue, 16 Jan 2024 12:19:38 -0700 Subject: [PATCH] remove dead code. --- scos_actions/actions/acquire_stepped_freq_tdomain_iq.py | 7 ++----- scos_actions/actions/monitor_sigan.py | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py b/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py index 35cf741c..114d22c2 100644 --- a/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py +++ b/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py @@ -38,6 +38,8 @@ import logging import numpy as np + +from scos_actions import utils from scos_actions.actions.acquire_single_freq_tdomain_iq import ( CAL_ADJUST, DURATION_MS, @@ -51,8 +53,6 @@ from scos_actions.signals import measurement_action_completed from scos_actions.utils import get_parameter -from scos_actions import utils - logger = logging.getLogger(__name__) @@ -80,11 +80,8 @@ class SteppedFrequencyTimeDomainIqAcquisition(SingleFrequencyTimeDomainIqAcquisi def __init__(self, parameters: dict): super().__init__(parameters=parameters) num_center_frequencies = len(parameters[FREQUENCY]) - # Create iterable parameter set self.iterable_params = utils.get_iterable_parameters(parameters) - - self.sensor = None self.num_center_frequencies = num_center_frequencies def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int): diff --git a/scos_actions/actions/monitor_sigan.py b/scos_actions/actions/monitor_sigan.py index dbc838cd..5153fd8f 100644 --- a/scos_actions/actions/monitor_sigan.py +++ b/scos_actions/actions/monitor_sigan.py @@ -13,7 +13,7 @@ class MonitorSignalAnalyzer(Action): """Monitor signal analyzer connection and restart container if unreachable.""" - def __init__(self, parameters={"name": "monitor_sigan"}, gps=None): + def __init__(self, parameters={"name": "monitor_sigan"}): super().__init__(parameters=parameters) def __call__(