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.
pip install tm_data_types
from tm_data_types import AnalogWaveform, write_file
waveform = AnalogWaveform()
file_path = "waveform_1.wfm"
write_file(file_path, waveform)
from tm_data_types import read_file
file_path = "waveform_1.wfm"
waveform = read_file(file_path)
See the full documentation at https://tm-data-types.readthedocs.io
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.
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.
tm_data_types
was created by Tektronix. It is licensed under the terms of
the Apache License 2.0.
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>
Footnotes
-
Currently,
tm_data_types
only supports the Tektronix proprietary.wfm
format. Support for other formats is planned for future releases. ↩ ↩2