From e97fba4b31340a913b87d230db7d36fe3d53ce06 Mon Sep 17 00:00:00 2001 From: jupfi Date: Tue, 12 Dec 2023 19:21:32 +0100 Subject: [PATCH] Update measurement with IF frequency. --- src/nqrduck_spectrometer_limenqr/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nqrduck_spectrometer_limenqr/controller.py b/src/nqrduck_spectrometer_limenqr/controller.py index 85ad664..38dc8e3 100644 --- a/src/nqrduck_spectrometer_limenqr/controller.py +++ b/src/nqrduck_spectrometer_limenqr/controller.py @@ -128,7 +128,7 @@ class LimeNQRController(BaseSpectrometerController): evidx = self.find_evaluation_range_indices(lime, rx_begin, rx_stop) tdx, tdy = self.extract_measurement_data(lime, evidx) fft_shift = self.get_fft_shift() - return Measurement(tdx, tdy, self.module.model.target_frequency, frequency_shift=fft_shift) + return Measurement(tdx, tdy, self.module.model.target_frequency, frequency_shift=fft_shift, IF_frequency=self.module.model.if_frequency) except Exception as e: logger.error("Error processing measurement result: %s", e) return None