How can I extract the conversion factor and offset for the signals of an mdf4 file. I am using asammdf, but I couldn't figure out, from where it gets the information e.g. when I use the mdf.to_dataframe(raw=False)
method.
Asked
Active
Viewed 55 times
1 Answers
0
This information cannot be aprt of the dataframe. Instead you should extract just the required channel and look at the conversion attribute
from asammdf import MDF
m = MDF(file)
ch = m.get('MySignal', raw=True)
print(ch.conversion)

danielhrisca
- 665
- 1
- 5
- 11