From c4b70065e020baabeb0a68640ab958f09e191a46 Mon Sep 17 00:00:00 2001 From: jupfi Date: Thu, 13 Jul 2023 10:47:34 +0200 Subject: [PATCH] Implemented categories for settings. --- src/nqrduck_spectrometer_limenqr/model.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/nqrduck_spectrometer_limenqr/model.py b/src/nqrduck_spectrometer_limenqr/model.py index adbd5ae..3d97357 100644 --- a/src/nqrduck_spectrometer_limenqr/model.py +++ b/src/nqrduck_spectrometer_limenqr/model.py @@ -10,12 +10,14 @@ class LimeNQRModel(BaseSpectrometerModel): def __init__(self, module) -> None: super().__init__(module) - self.add_setting("Frequency", 100, "Experiment frequency") - self.add_setting("Averages", 100, "Number of averages") - self.add_setting("Acquisition Points", 32, "Acquisition points") - self.add_setting("Dwell time", "400n", "Dwell time") - self.add_setting("RX Gain", 55, "RX Gain") - self.add_setting("TX Gain", 40, "TX Gain") + self.add_setting("Frequency", 100, "Experiment frequency", "Acquisition") + self.add_setting("Averages", 100, "Number of averages", "Acquisition") + self.add_setting("Sampling Frequency", 30.72e6 , "Sampling frequency", "Acquisition") + self.add_setting("IF Frequency", 1.2e6, "IF frequency", "Acquisition") + self.add_setting("RX Gain", 55, "RX Gain", "RX/TX Settings") + self.add_setting("TX Gain", 40, "TX Gain", "RX/TX Settings") + self.add_setting("RX LPF BW", 30.72e6/2, "RX LPF BW", "RX/TX Settings") + self.add_setting("TX LPF BW", 130.0e6, "TX LPF BW", "RX/TX Settings") self.add_pulse_parameter_option("TX", TXPulse) self.add_pulse_parameter_option("Gate", Gate) self.add_pulse_parameter_option("RX", RXReadout)