From 79b3f9bf4c1077f234d5f29cba882de52d99b7d4 Mon Sep 17 00:00:00 2001 From: jupfi Date: Wed, 12 Jul 2023 17:14:42 +0200 Subject: [PATCH] Added RX option. --- src/nqrduck_spectrometer_limenqr/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nqrduck_spectrometer_limenqr/model.py b/src/nqrduck_spectrometer_limenqr/model.py index ad38834..adbd5ae 100644 --- a/src/nqrduck_spectrometer_limenqr/model.py +++ b/src/nqrduck_spectrometer_limenqr/model.py @@ -1,7 +1,7 @@ import logging from nqrduck.module.module_model import ModuleModel from nqrduck_spectrometer.base_spectrometer_model import BaseSpectrometerModel -from nqrduck_spectrometer.pulseparameters import Gate, TXPulse +from nqrduck_spectrometer.pulseparameters import Gate, TXPulse, RXReadout logger = logging.getLogger(__name__) @@ -18,6 +18,7 @@ class LimeNQRModel(BaseSpectrometerModel): self.add_setting("TX Gain", 40, "TX Gain") self.add_pulse_parameter_option("TX", TXPulse) self.add_pulse_parameter_option("Gate", Gate) + self.add_pulse_parameter_option("RX", RXReadout) try: from nqrduck_pulseprogrammer.pulseprogrammer import pulse_programmer