analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)

Home Page:https://analogdevicesinc.github.io/pyadi-iio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow annotated output

tfcollins opened this issue · comments

Enhance device output to provide names of associated data. This is really helpful for IMUs and sensors.

example:

dev = adi.adis16440()
out = dev.rx()
{'anglvel_x': array([-31.,  23.,  31., ...,  38.,  22., -17.]),
 'anglvel_y': array([-31.,  23.,  31., ...,  38.,  22., -17.]),
 'anglvel_z': array([-31.,  23.,  31., ...,  38.,  22., -17.])}