Skip to main content

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()

It is possible to change the resolution bandwith and video bandwidth.

In [1]: from rsfsup import CommChannel
In [2]: cc = CommChannel("<ip address>")
In [3]: fsup = cc.get_instrument()
In [4]: fsup.spectrum.bandwidth.resolution_bandwidth
Out[4]: '50.0 kHz'
In [5]: fsup.spectrum.bandwidth.video_bandwidth
Out[5]: '50.0 kHz'
In [6]: fsup.spectrum.bandwidth.rbw_vbw_ratio
Out[6]: 1.0
In [7]: fsup.spectrum.bandwidth.rbw_vbw_ratio = 0.1
In [8]: fsup.spectrum.bandwidth.rbw_vbw_ratio
Out[8]: 0.1
In [9]: fsup.spectrum.bandwidth.resolution_bandwidth
Out[9]: '50.0 kHz'
In [10]: fsup.spectrum.bandwidth.video_bandwidth
Out[10]: '500.0 kHz'
In [11]: fsup.spectrum.bandwidth.video_bandwidth = "3 MHz"
In [12]: fsup.spectrum.bandwidth.video_bandwidth
Out[12]: '3.0 MHz'

Supported features:

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

Documentation

Metadata

Release files for rsfsup 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsfsup 0.1.21
File Size Uploaded Provenance Actions
rsfsup-0.1.21.tar.gz 17.3 kB Without provenance Details for rsfsup-0.1.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rsfsup 0.1.21
File Interpreter ABI Platform Actions
rsfsup-0.1.21-py3-none-any.whl Python 3 none any Details for rsfsup-0.1.21-py3-none-any.whl

Total release size: 43.2 kB

Release files / rsfsup-0.1.21.tar.gz

Download URL rsfsup-0.1.21.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a8da9d2a46bb80ddc8617db7998e19ac3d78b95e0e69c4749e364b03937425a0
BLAKE2b-256 checksum
How to use checksums
91ca5eb204477f0d08ece0d25447c526972ff135d25a441810dca725f4ad8c67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / rsfsup-0.1.21-py3-none-any.whl

Download URL rsfsup-0.1.21-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a2a21d5a94ae6d68bccd7be4e602bd41b3c8afb2e2ae2ba89c285ce6f86b4dc
BLAKE2b-256 checksum
How to use checksums
58e288966be0a3ebdebd519fee31087e7823689206d93757bc52fbafb05de970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Security for rsfsup 0.1.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page