pyTDMS Code
Brought to you by:
florisvanvugt
File | Date | Author | Commit |
---|---|---|---|
LICENSE.txt | 2014-11-25 | florisvanvugt | [r3] Updating license to MIT. |
README | 2012-10-23 | florisvanvugt | [r1] Adding the previous release plus the changes by... |
pyTDMS.py | 2014-11-25 | florisvanvugt | [r4] Adding Stefan Klanke's kind contributions. |
============== pyTDMS ============== by Floris van Vugt (IMMM Hannover) I am greatly indebted for insightful bug-corrections by: ADAM REEVE JUERGEN NEUBAUER, PH.D. DAVID LAROSE Thanks guys! January 2011 updated October 2012 INTRODUCTION pyTDMS is a light-weight, quick-and-dirty native python library that can (mostly) read TDMS files. Not all data structures are implemented at this point, but reading measurement data stored as floats or ints should work seamlessly. USAGE Very simple. Example, in python: import pyTDMS (objects,rawdata) = pyTDMS.read("path/to/myfile.tdms") This will read the given tdms file. It returns two data structures: - objects: contains the metadata, in key-value pairs - rawdata: a dict containing the raw data associated with each of the channels in this TDMS file. Mostly I think you will find it out by just trying it out on your favourite TDMS file and having a look at the data that the read procedure returns.