Reputation: 339
Hi I am using asammdf library for handling MF4 files. When I open the file using asammdf GUI , in Info tab I can see information . I am trying to extract the same info by calling .info() function on the same file as below.
data = MDF(r"C:\Users\vaasu\Desktop\data\Recorder_2020-06-05_10-22_0120.MF4")
print(data.info())
But this is only giving channel group information. But I need "program identification" and "Measurement comment" as well. How can I read that using asammdf API?
Upvotes: 1
Views: 1571
Reputation: 730
You can see what attributes are accessed starting with this line https://github.com/danielhrisca/asammdf/blob/af1b9b1a213fbfc33a77d41c9d7aca2257e0c320/asammdf/gui/widgets/file.py#L376
Upvotes: 2