mirror of
https://github.com/nqrduck/quackseq-limenqr.git
synced 2024-11-18 01:21:01 +00:00
Fixed some settings, added gitignore.
This commit is contained in:
parent
863753f670
commit
baa2025590
7 changed files with 27 additions and 4 deletions
24
.gitignore
vendored
Normal file
24
.gitignore
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
*.egg-info/
|
||||||
|
|
||||||
|
# IDE-specific files
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Virtual environments
|
||||||
|
venv/
|
||||||
|
|
||||||
|
# Other
|
||||||
|
*.DS_Store
|
||||||
|
*.pos
|
||||||
|
*.quack
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -266,7 +266,7 @@ class LimeNQRController(SpectrometerController):
|
||||||
lime.TX_matching = int(self.limenqr.model.settings.tx_matching)
|
lime.TX_matching = int(self.limenqr.model.settings.tx_matching)
|
||||||
lime.RX_matching = int(self.limenqr.model.settings.rx_matching)
|
lime.RX_matching = int(self.limenqr.model.settings.rx_matching)
|
||||||
lime.frq = self.limenqr.model.target_frequency - self.limenqr.model.if_frequency
|
lime.frq = self.limenqr.model.target_frequency - self.limenqr.model.if_frequency
|
||||||
lime.rectime_secs = self.limenqr.model.settings.acquisition_time
|
lime.rectime_secs = float(self.limenqr.model.settings.acquisition_time)
|
||||||
|
|
||||||
c3_tim[0] = self.limenqr.model.settings.gate_enable
|
c3_tim[0] = self.limenqr.model.settings.gate_enable
|
||||||
c3_tim[1] = self.limenqr.model.settings.gate_padding_left
|
c3_tim[1] = self.limenqr.model.settings.gate_padding_left
|
||||||
|
|
|
@ -113,12 +113,11 @@ class LimeNQRModel(SpectrometerModel):
|
||||||
self.add_setting("if_frequency", if_frequency_setting)
|
self.add_setting("if_frequency", if_frequency_setting)
|
||||||
self.if_frequency = 5e6
|
self.if_frequency = 5e6
|
||||||
|
|
||||||
acquisition_time_setting = FloatSetting(
|
acquisition_time_setting = StringSetting(
|
||||||
self.ACQUISITION_TIME,
|
self.ACQUISITION_TIME,
|
||||||
self.ACQUISITION,
|
self.ACQUISITION,
|
||||||
82e-6,
|
82e-6,
|
||||||
"Acquisition time - this is from the beginning of the pulse sequence",
|
"Acquisition time - this is from the beginning of the pulse sequence",
|
||||||
min_value=0,
|
|
||||||
)
|
)
|
||||||
self.add_setting("acquisition_time", acquisition_time_setting)
|
self.add_setting("acquisition_time", acquisition_time_setting)
|
||||||
|
|
||||||
|
@ -309,7 +308,7 @@ class LimeNQRModel(SpectrometerModel):
|
||||||
self.add_setting("rx_phase_adjustment", rx_phase_adjustment_setting)
|
self.add_setting("rx_phase_adjustment", rx_phase_adjustment_setting)
|
||||||
|
|
||||||
# Signal Processing settings
|
# Signal Processing settings
|
||||||
rx_offset_setting = FloatSetting(
|
rx_offset_setting = StringSetting(
|
||||||
self.RX_OFFSET,
|
self.RX_OFFSET,
|
||||||
self.SIGNAL_PROCESSING,
|
self.SIGNAL_PROCESSING,
|
||||||
2.4e-6,
|
2.4e-6,
|
||||||
|
|
Loading…
Reference in a new issue