mpylab.device.rec_rs_esu moduleΒΆ
This is mpylab.device.rec_rs_esu.
Provides driver for Rohde&Schwarz ESU EMI receiver family. :author: Hans Georg Krauthaeuser (main author)
- license:
GPL-3 or higher
- class mpylab.device.rec_rs_esu.RECEIVER(**kw)
Bases:
RECEIVERConcrete R&S ESU receiver driver based on the generic RECEIVER API.
- GetData()
Trigger one measurement and return it as a quantity object.
- GetDataNB(retrigger=False)
Return a non-blocking measurement and optionally retrigger.
- GetDetector()
Return the currently selected detector token.
- GetMeasTime()
Return the configured sweep time.
- GetMinAttenuation()
Return the configured minimum attenuation floor in dB.
- GetPreamplifier()
Return the current preamplifier state.
- Init(ini=None, channel=None, ignore_bus=None)
Initialize receiver state and apply configuration for one channel.
- SetAttenuation(attenuation)
Set input attenuation and return the effective value in dB.
- SetDetector(detector)
Set detector mode and return the resulting detector token.
- SetMeasTime(meas_time)
Set sweep time or keep automatic timing when requested.
- SetMinAttenuation(min_attenuation)
Set minimum attenuation floor and enforce it on current settings.
- SetPreamplifier(preamplifier)
Set preamplifier state and return the applied value.
- SetResolutionBandwidth(rbw)
Set resolution bandwidth or enable automatic bandwidth.
- mpylab.device.rec_rs_esu.main()
Run a simple manual smoke test for the ESU receiver driver.