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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
tdm_loader-1.1.13-py2.7.egg
(17.8 kB
view hashes)
Close
Hashes for tdm_loader-1.1.13.macosx-10.13-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6337138a5e424711980e11b66bc7ed201ae73ec420f94d5d6140e410c87c0012 |
|
MD5 | 6237ca7594e11ee530e41a23cfccc3e9 |
|
BLAKE2b-256 | 6600cd35a9221991bb37f0201596e4a4f6ec5f3960caa6fd2454d443176df197 |
Close
Hashes for tdm_loader-1.1.13.macosx-10.13-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0ff6f46bc23d54197a28ab53ba5513fa4ba6523ad5480ad755f8e99611813ff |
|
MD5 | c43aba138ffbefed299aa9a6e0eaa697 |
|
BLAKE2b-256 | e4d2cece1c8c36f699006b94c988ca40729068eb204813336d06b405319cbef4 |