Skip to main content
Help us improve Python packaging – donate today!

Read HP SDF binary and ASCII files

Project Description

PyPi Version Build Status Coverage Status License Badge

sdfascii is a Python (2.6+/3.3+) module for reading the HP/Agilent Standard Data Format (SDF) binary files and the ASCII files saved by HP/Agilent Dynamic Signal Analyzers (DSA).

The HP/Agilent 35670A Dynamic Signal Analyzer has the ability to save files as either SDF or ASCII format.

HP/Agilent SDF Binary Format

The “Standard Data Format Utilities User’s Guide” version B.02.01, P/N 5963-1715 was used to determine the SDF file format while developing sdfascii.

HP/Agilent DSA ASCII Format

Four files are created when saving to the HP/Agilent DSA ASCII format:

  1. .HDR contains SDF header information
  2. .TXT contains the y-axis information, preserving the same units as displayed on the analyzer screen when the trace was saved
  3. .X contains the x-axis information
  4. .Z contains the z-axis information, if the trace contains waterfall data

Source: Agilent discussion forum question When I save the trace in the ASCII format, there are 4 files created with extensions of .txt, .hdr, .x, and .z. What are the contents of these files?

Contributing

sdfascii is developed using Scott Chacon’s GitHub Flow. To contribute, fork sdfascii, create a feature branch, and then submit a pull request. GitHub Flow is summarized as:

  • Anything in the master branch is deployable
  • To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
  • Commit to that branch locally and regularly push your work to the same named branch on the server
  • When you need feedback or help, or you think the branch is ready for merging, open a pull request.
  • After someone else has reviewed and signed off on the feature, you can merge it into master.
  • Once it is merged and pushed to master, you can and should deploy immediately.

License

sdfascii is released under the MIT license. Please see the LICENSE.txt file for more information.

Release history Release notifications

This version
History Node

0.3.1

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sdfascii-0.3.1.tar.gz (10.2 kB) Copy SHA256 hash SHA256 Source None Aug 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page