Implemented categories for settings.

This commit is contained in:
jupfi 2023-07-13 10:47:34 +02:00
parent 79b3f9bf4c
commit c4b70065e0

View file

@ -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)