Skip to main content

Communication with Rohde&Schwarz FSUP Signal Source Analyzer

Project description

PyPI

rsfsup

Python interface to the Rohde & Schwarz FSUP Signal Source Analyzer

Installation

$ pip install rsfsup

Usage

It is possible to configure the instrument and read the trace data with this library. The first example shows reading the spectrum analyzer trace in a context manager.

>>> from rsfsup import CommChannel
>>> with CommChannel("<ip address>") as fsup:
...     data = fsup.spectrum.read()
>>> import matplotlib.pyplot as plt
>>> plt.plot(*data)
[<matplotlib.lines.Line2D at ...>]
>>> plt.show()

The next example shows switching to SSA mode to measure phase noise. This one also shows using the CommChannel directly, which is useful in interactive sessions where features of the instrument can be accessed using tab completion.

>>> from rsfsup import CommChannel
>>> cc = CommChannel("<ip address>")
>>> fsup = cc.get_instrument()
>>> fsup.mode = "SSA"
>>> data = fsup.ssa.read()
>>> import matplotlib.pyplot as plt
>>> plt.semilogx(*data)
>>> plt.show()
>>> cc.close()

Supported features:

  • Spectrum analyzer
    • Configuration
    • Markers
    • Trigger
    • Read trace, frequency and time domain
  • Phase noise (PLL Cross correlation)
  • File system management

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rsfsup, version 0.1.18
Filename, size File type Python version Upload date Hashes
Filename, size rsfsup-0.1.18-py3-none-any.whl (25.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rsfsup-0.1.18.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page