Open National Instruments TDM/TDX files as NumPy structured arrays.
Project description
This module allows National Instruments TDM/TDX files to be accessed like NumPy structured arrays.
It can be installed in the standard way:
python setup.py install
Sample usage:
import tdm_loader data_file = tdm_loader.OpenFile('filename.tdm' [, encoding='utf-8'])
Access a channel by number or name for the first channel_group:
data_file[channel]
Access a channel in a channel_group by name or number:
data_file[channel_group, channel]
Access a column by number or name:
data_file.col(column_num)
Access a channel by channel group and channel index or name combination:
data_file.channel(channel_group, channel)
Get a whole channel group as dict:
data_file.channel_dict(channel_group)
Search for a column name. A list of all column names that contain search_term and their indices will be returned:
data_file.channel_search(search_term)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tdm_loader-1.1.15.tar.gz
(8.2 kB
view hashes)
Built Distributions
tdm_loader-1.1.15-py2.7.egg
(17.9 kB
view hashes)
Close
Hashes for tdm_loader-1.1.15.macosx-10.13-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1a475a9823ca1dd8133c249db719a4ede8708757bacbfe7b02401b507c06a5 |
|
MD5 | 36b288c1e059482cf7baf88901837b33 |
|
BLAKE2b-256 | 7e355d80712c4bbfbf15fda755bb0bed19e0686e3ee834afdfe3dec2f40e07e1 |