Skip to main content

Cross-platform, NumPy based module for reading TDMS files produced by LabView.

Project description

wercker status

Cross-platform module for reading TDMS files as produced by LabView. Data is stored as a numpy array, and is loaded using numpy’s fromfile routine so is very fast.

Typical usage might look like:

#!/usr/bin/env python

from nptdms import TdmsFile
tdms_file = TdmsFile("path_to_file.tdms")
channel = tdms_file.object('Group', 'Channel1')
data = channel.data
time = channel.time_track()
# do stuff with data

For more information, see the npTDMS documentation.

Installation

npTDMS is available from the Python Package Index, so the easiest way to install it is by running (as root):

pip install npTDMS

Alternatively, after downloading the source code you can extract it and change into the new directory, then run:

python setup.py install

What Currently Doesn’t Work

This module doesn’t support TDMS files with XML headers or with extended floating point data.

Files with DAQmx raw data are not supported either.

Contributors/Thanks

Thanks to Floris van Vugt who wrote the pyTDMS module, which helped when writing this module.

Thanks to Tony Perkins, Ruben De Smet, Martin Hochwallner and Peter Duncan for contributing support for converting to Pandas DataFrames.

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

npTDMS-0.7.1.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npTDMS-0.7.1-py2.py3-none-any.whl (20.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file npTDMS-0.7.1.tar.gz.

File metadata

  • Download URL: npTDMS-0.7.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for npTDMS-0.7.1.tar.gz
Algorithm Hash digest
SHA256 d87b703fe594134bf37b3ea271a6114178b7531d6d6a85ad97c1a1780203b3c7
MD5 f7e9c15a2742f2ecd5737ee485337f67
BLAKE2b-256 fde48455925ba4d67e5d58e675e6e84b6851567360d409367e399305ce74f1da

See more details on using hashes here.

File details

Details for the file npTDMS-0.7.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for npTDMS-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24cf17daa8212e59ddd9eef2905ee9cda7b197ef903bb5f3003c47fd022f4174
MD5 eae1bb7bc3ad6a9437270c4ac8cbbc70
BLAKE2b-256 6fbf4134f579af4edadb1c19ed86f0d735677f37a37d896e4208c9831f21aba7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page