I am loading many large .mf4 files using the package asammdf. These files have many channels that I am not interested in and the input is the bottleneck of my program. So my question is:
Can I somehow only load specific channels from the file to speed up the input process?
What I am doing now is to load the whole file and specify the channels during the conversion to a pandas Dataframe
.
from asammdf import MDF
if __name__ == '__main__':
path = 'C:/path/to/some/file.mf4'
mdfObj = MDF(path, version='4.10')
columns=['A','B','C']
df = mdfObj.to_dataframe(channels=columns)