mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-11-09 11:10:03 +00:00
Changed implementation of pulse options.
This commit is contained in:
parent
782a8206ce
commit
586cff9b3d
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
from nqrduck_spectrometer.pulseparameters import Gate, TXPulse
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -16,8 +16,8 @@ class LimeNQRModel(BaseSpectrometerModel):
|
|||
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_pulse_parameter_option("TX Gate", Gate)
|
||||
self.add_pulse_parameter_option("RX Gate", Gate)
|
||||
self.add_pulse_parameter_option("TX", TXPulse)
|
||||
self.add_pulse_parameter_option("Gate", Gate)
|
||||
|
||||
try:
|
||||
from nqrduck_pulseprogrammer.pulseprogrammer import pulse_programmer
|
||||
|
|
Loading…
Reference in a new issue