tm_data_types: Test & Measurement Data Types
tm_data_types provides tools to convert, edit, and write waveform data from Test & Measurement devices.
It simplifies handling waveform formats like CSV, WFM, and BIN in Python.
tm_data_types can be used to:
- Convert CSV, WFM, and BIN format into a waveform object,
- Add or edit waveform metadata,
- Write a valid waveform object to a file.
Supported File Formats
Installation
pip install tm_data_types
Basic Usage
Write File
from tm_data_types import AnalogWaveform, write_file
waveform = AnalogWaveform()
file_path = "waveform_1.wfm"
write_file(file_path, waveform)
Read File
from tm_data_types import read_file
file_path = "waveform_1.wfm"
waveform = read_file(file_path)
Documentation
See the full documentation at https://tm-data-types.readthedocs.io
Maintainers
Before reaching out to any maintainers directly, please first check if your issue or question is already covered by any open issues. If the issue or question you have is not already covered, please file a new issue or start a discussion and the maintainers will review and respond there.
- opensource@tektronix.com - For open-source policy and license questions.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
tm_data_types was created by Tektronix. It is licensed under the terms of
the Apache License 2.0.
Security
The signatures of the files uploaded to PyPI and each
GitHub Release can be verified using
the GitHub CLI attestation verify command.
The artifact attestations can also be directly downloaded from the
GitHub repo attestations page if desired.
gh attestation verify --owner tektronix <file>
-
Currently,
tm_data_typesonly supports the Tektronix proprietary.wfmformat. Support for other formats is planned for future releases. ↩ ↩2
Release files for tm-data-types 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tm_data_types-0.5.0.tar.gz | 62.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tm_data_types-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 148.2 kB
Release files / tm_data_types-0.5.0.tar.gz
| Download URL | tm_data_types-0.5.0.tar.gz |
|---|---|
| Size | 62.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1f74b53ae614422a0695c8ec4ed08f62dde71da3640d264efa8891d1d3122e3
|
|
BLAKE2b-256 checksum How to use checksums |
3a5c69a75b417a5cc794998e5dfb5ca29b0f6123ccbafe09dfc959211ab7049c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / tm_data_types-0.5.0-py3-none-any.whl
| Download URL | tm_data_types-0.5.0-py3-none-any.whl |
|---|---|
| Size | 85.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06eae9fccaab3b57bef3d789b27e9873dcba6b4a600312ee0aca184f2adbfa3e
|
|
BLAKE2b-256 checksum How to use checksums |
01145b4ffaf92bf94ebc801acd0f8f9afee2b1a4ba5e9aa4ef429720d81624fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|