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.1.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.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rskfd-0.7.1.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.1.tar.gz
Algorithm Hash digest
SHA256 06030858934def9c8006f3f0ae7338f84e7329ea5e7627d75f6709b6b96f4545
MD5 1419373c1ae2375f487bd289c0759298
BLAKE2b-256 6e7f5a213674ca36b6db104f7f4b65802b08048f8a1cc14f0c4493600c5f301c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rskfd-0.7.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1194727bae753703d323270a203f25d9790222e83f548b9b6d5f719cdad78a58
MD5 9680888b8c52c7e541702bfdda1b88ac
BLAKE2b-256 3a9279e73c84b358a259069564821ba112a598bca263a86a403141345aa07b08

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