Release 1.0.12
Summary
You can now use Groups to access different time-channels.
Every time channel has corresponding data channels depending on the time-channel's speed. You can access these groups via:
reader = APReader('test.bin')
for group in reader.Groups:
group.plot()The group has the following:
- ChannelX: The time channel which is associated to all other channels in this group, which are stored under:
- ChannelsY: All other channels which contain data.
Groups have the same functions as Channels: you can plot and now also save both of them.
While calling save you can supply two modes: 'csv' or 'json', which will create an output file in the specified format.
reader = APReader('test.bin')
for group in reader.Groups:
group.save(mode='csv', 'out/dir')
group.save(mode='json', 'out/dir')Changes
Version 1.0.12
- Group channels with their time-channel into "groups"
- Multiple plot modes:
- Whole file
- Channel/Group only
- Output data using
Group.saveorChannel.save- json
- csv
- New members on
Channel- frequency: Data frequency
- intervalstr: A readable interval string with a fitting unit.
- interval: The interval in milliseconds between two data steps.
Install
pip install apread