ratal / mdfreader

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

improved extraction of channels in masterChannelList #213

Closed LaurentBlanc73 closed 1 month ago

LaurentBlanc73 commented 1 month ago

By storing the data of each channel first in a dictionary and only converting it to a dataframe at the end, the runtime improves.

Additionally this prevents the info highly fragmented dataframe from the pandas package from showing up every iteration of the for-loop that iterates through each channel.

related to issue https://github.com/ratal/mdfreader/issues/211