Skip to main content

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

Project description

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.

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.6.tar.gz (20.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for npTDMS-0.6.tar.gz
Algorithm Hash digest
SHA256 7dc12437dae5d81cfc733e96a2a8ef2152c69f6028295ba7246096892513757c
MD5 f82c561af740889b9af702c39eaa47a6
BLAKE2b-256 f5fad37d0ca2807d83e2f5c4b77123d8c39f6aa353b700cf0a0b39c3840dc260

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