Skip to main content

Helpers to process and visualize measurement data from Rohde & Schwarz MRT DAU

Project description

https://img.shields.io/pypi/v/rs-mrt-dau-utilities.svg https://readthedocs.org/projects/sphinx/badge/?version=master https://img.shields.io/pypi/l/rs-mrt-dau-utilities.svg https://img.shields.io/pypi/dm/rs-mrt-dau-utilities.svg

rs-mrt-dau-utilities package provides two convenient modules for Rohde & Schwarz Data Application Unit (DAU):

  • ip_analysis module for creating Polars dataframes from the SCPI results.

  • delay module for creating Polars dataframes from the centralservice.log file.

ip_analysis code:

from RsInstrument import *
import rs_mrt_dau_utilities.ip_analysis as ipana

cmx = RsInstrument('TCPIP::10.102.20.55::hislip0')
iden = cmx.query("*IDN?")
print(iden)
ip_analysis_res=cmx.query('FETCh:DATA:MEASurement:IPANalysis:RESult?')
parsed_sequences = ipana.ipanalysis_parse_scpi_result(ip_analysis_res)

list_of_dfs = ipana.ipanalysis_init_dataframes()

for sequence in parsed_sequences:
   for message in sequence['json_messages']:
         ipana.ipanalysis_update_dataframes(list_of_dfs, message)

print(list_of_dfs)

delay code:

import rs_mrt_dau_utilities.delay as delay

log_file_path = 'centralservice.log'
delay_df = delay.extract_delay_from_log(log_file_path)

print(delay_df)

Installation

You can install the package via pip:

pip install rs-mrt-dau-utilities

Note on Windows: You need the following additional dependencies if you get the error below: .. code-block:: bash

error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/

You can install them with this command: .. code-block:: bash

vs_buildtools.exe –norestart –passive –downloadThenInstall –includeRecommended –add Microsoft.VisualStudio.Workload.NativeDesktop –add Microsoft.VisualStudio.Workload.VCTools –add Microsoft.VisualStudio.Workload.MSBuildTools

Check out the full documentation on ReadTheDocs.

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

rs_mrt_dau_utilities-0.6.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

rs_mrt_dau_utilities-0.6.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file rs_mrt_dau_utilities-0.6.0.tar.gz.

File metadata

  • Download URL: rs_mrt_dau_utilities-0.6.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rs_mrt_dau_utilities-0.6.0.tar.gz
Algorithm Hash digest
SHA256 82eb05736856d0d70f814d8c5526cceda998b4760e53584185760cf9d570a2b1
MD5 d627e8f17b3deab21b0458d1810c6055
BLAKE2b-256 7e369c18baa0975ab6acfee3afb2da1acd7b1c2b3320cf7b1537ee489baafdc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rs_mrt_dau_utilities-0.6.0.tar.gz:

Publisher: publish.yml on Rohde-Schwarz/rs-mrt-dau-utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rs_mrt_dau_utilities-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rs_mrt_dau_utilities-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b82e16d5d21a8fb55ade7583c8f7f02cef7a1d620fb29401172acc3a288a88
MD5 c94d22a81399419fc346e03553c90259
BLAKE2b-256 b1993b2746911edc66189f41988f91382ec406a714c8c8bd320a11d69a0a6d3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rs_mrt_dau_utilities-0.6.0-py3-none-any.whl:

Publisher: publish.yml on Rohde-Schwarz/rs-mrt-dau-utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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