From 6217ca33a78c98f1e16809d50af08ad724e92a74 Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Mon, 18 Mar 2024 07:37:51 -0600 Subject: [PATCH] use sigan frequency in measurement action capture. --- scos_actions/actions/interfaces/measurement_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scos_actions/actions/interfaces/measurement_action.py b/scos_actions/actions/interfaces/measurement_action.py index 117a9154..3b136dc1 100644 --- a/scos_actions/actions/interfaces/measurement_action.py +++ b/scos_actions/actions/interfaces/measurement_action.py @@ -43,7 +43,7 @@ def create_capture_segment( ) -> CaptureSegment: capture_segment = CaptureSegment( sample_start=sample_start, - frequency=measurement_result["center_frequency_Hz"], + frequency=self.sensor.signal_analyzer.frequency, datetime=measurement_result["start_time"], duration=measurement_result["duration_ms"], overload=measurement_result["overload"],