[SciPy-User] Reading TDM/TDMS Files with scipy

Nils Wagner nils106 at googlemail.com
Wed Feb 20 11:49:16 EST 2013


Hi Kevin,

IMHO, you should ask Floris, directly.
http://www.florisvanvugt.com/index.html

Cheers,
                  Nils


On 2/20/13, Kevin <balem at univ-brest.fr> wrote:
> Floris <florisje <at> hotmail.com> writes:
>
>>
>> Nils Wagner <nwagner <at> iam.uni-stuttgart.de> writes:
>>
>> >
>> > Hi all,
>> >
>> > Is it possible to read TDM/TDMS files with scipy ?
>> >
>> > I found a tool for Matlab
>> > http://zone.ni.com/devzone/cda/epd/p/id/5957
>> >
>> > Nils
>> >
>>
>> Hello Nils,
>> I made a little tool for that: pyTDMS.
>> http://sourceforge.net/projects/pytdms/
>> Hope that helps.
>> Floris
>>
> Hi,
> This message is quite old but I try to use your pytdms which seems to be a
> great
> tools. However I get this error message :
>
> ==> Interleaved
> Traceback (most recent call last):
>   File "test_fft.py", line 4, in <module>
>     (ob,ra) = tdm.read("14_02_2013_10_52_12.tdms")
>   File "/home/balem/Desktop/TANDEM/test actif rade 14022013/pyTDMS.py", line
>
> 900, in read
>     data = readSegment(f,sz,data)
>   File "/home/balem/Desktop/TANDEM/test actif rade 14022013/pyTDMS.py", line
>
> 762, in readSegment
>     newdata = readRawData(f,leadin,newobjects,newobjectorder,filesize)
>   File "/home/balem/Desktop/TANDEM/test actif rade 14022013/pyTDMS.py", line
>
> 648, in readRawData
>     for c in channel: data[c]=[]
> TypeError: unhashable type: 'dict'
>
>
> Unfortunately I have no clue about how the tdms file is written, maybe you
> can
> help me on this ?
> Many thanks
>
> Kevin
>
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list