Skip to content
Snippets Groups Projects

Fix mfli driver

Merged Tobias Hangleiter requested to merge hotifx/mfli into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -194,7 +194,7 @@ class ZurichInstrumentsMFLIDAQ(_ZurichInstrumentsDevice):
@@ -194,7 +194,7 @@ class ZurichInstrumentsMFLIDAQ(_ZurichInstrumentsDevice):
``freq = 10e3, f_max = 2e3``, the spectrum will have a
``freq = 10e3, f_max = 2e3``, the spectrum will have a
bandwidth of ``[8e3, 12e3]``.
bandwidth of ``[8e3, 12e3]``.
**settings : Mapping
**settings : Mapping
Additional settings for data acqusition.
Additional settings for data acquisition.
Notes
Notes
-----
-----
@@ -237,6 +237,8 @@ class ZurichInstrumentsMFLIDAQ(_ZurichInstrumentsDevice):
@@ -237,6 +237,8 @@ class ZurichInstrumentsMFLIDAQ(_ZurichInstrumentsDevice):
if filter_order is not None:
if filter_order is not None:
self.device.demods[self.demod].order(int(filter_order))
self.device.demods[self.demod].order(int(filter_order))
 
settings = settings.to_consistent_dict()
 
# BW 3dB = √(2^(1/n) - 1) / 2πτ
# BW 3dB = √(2^(1/n) - 1) / 2πτ
# BW NEP = Γ(n - 1/2) / 4τ √(π)Γ(n)
# BW NEP = Γ(n - 1/2) / 4τ √(π)Γ(n)
n = self.device.demods[self.demod].order()
n = self.device.demods[self.demod].order()
Loading