ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 74 forks source link

Concatenate Measurement Files? #25

Closed wangdino closed 8 years ago

wangdino commented 8 years ago

Hi ratal,

First of all thank you for the great work!

I'm struggling to concatenate multiple MDF files (all of them are measured with same configuration hence sample rates, etc.). Do you know a way to do so?

Thanks!

ratal commented 8 years ago

Dear Wangdino, There is already code existing for that. In mdfreader.py, there is a method of mdf class called mergeMdf. It is merging 2 mdf objects. You can have a look at documentation for more details and you can also have a look at mdfconverter/mdfconverterui on_Convert_clicked() on how to use it. Otherwise, you could also convert it into pandas and I am sure there are easy functions to do the same. If it is ponctual need and you do not need python scriptign, you can use mdfconverter Qt graphical interface.

ratal commented 8 years ago

no feed back, I assume it solved your issue, closed