Skip to main content

Python Package for Instrument Control and Data Handling

Project description

rskfd

Description

Python package for instrument control and I/Q data handling (R&S formats). Instrument control uses raw socket connections.

  • Software is provided as is.
  • Package APIs may change; pin the version you use.
  • This is not an official Rohde & Schwarz package.

Overview

Package layout:

rskfd/
- iq_data_handling/   # I/Q data and file handling
- remote_control/     # Remote connections to measurement instruments
- signal_generation/  # Signal generation
- helper/             # Additional utilities
- snp_handling/       # S-parameter file handling

Installing

pip install rskfd

Usage

Instrument Control

Test connection to an instrument (default port 5025):

import rskfd

myinstrument = rskfd.instrument("192.168.1.100")
myinstrument.Connect()
myinstrument.Write("*IDN?")
print(myinstrument.Read())
myinstrument.Close()

iq.tar File Handling

Generate white Gaussian noise and save it as an iq.tar file (100 MHz sample rate):

import rskfd

iq = rskfd.CreateWGNSignal(NoisePower=-40, RecordLength=10000, BandLimit=0.8)
rskfd.WriteIqTar(iq, 100e6, "demo.iq.tar")

Project details


Download files

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

Source Distribution

rskfd-0.7.2.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rskfd-0.7.2-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file rskfd-0.7.2.tar.gz.

File metadata

  • Download URL: rskfd-0.7.2.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for rskfd-0.7.2.tar.gz
Algorithm Hash digest
SHA256 023be54b9507168b5943d40e11b39243643da1b73bcecc76582eca24d6df715f
MD5 7d7dbb520f7b09ce2424d0e8df1e7abd
BLAKE2b-256 5e6b36945452abc30965398144ad8dfb89e05882a64b18bcc016107745fff930

See more details on using hashes here.

File details

Details for the file rskfd-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: rskfd-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for rskfd-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fd33eac89f3503c98bdb802a22f014dc00709ffac4e6277eeea0a721b164eee
MD5 128ff3cd0672f9633d87e70655ca2b9a
BLAKE2b-256 029ee88025bfd4f2755d9ee331a5594a99bfc8293d50d8abc841878385c0eb2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page