Skip to content

Release 1.0.12

Choose a tag to compare

@leonbohmann leonbohmann released this 24 May 21:42
· 134 commits to master since this release
8a09202

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.save or Channel.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