Skip to main content

RocketLogger Python Support

Project description

This package provides RocketLogger data file handling support, basic data processing and plotting of the data.

Dependencies:

  • Python 3: version 3.4-3.7

  • NumPy: version 1.11-1.17

  • Matplotlib: version 1.5-3.1

Data Import

To import a RocketLogger data (.rld) file, simply do:

>>> from rocketlogger.data import RocketLoggerData
>>> rld = RocketLoggerData('data.rld')

To merge channels with auto-ranging, i.e. the current channels:

>>> rld.merge_channels()

To get the loaded channel data (by name) and corresponding timestamps:

>>> rld.get_data(['V1', 'I1'])
>>> rld.get_time()

A list of the channels existing in the loaded file is provided by:

>>> rld.get_channel_names()

To plot a preview of the data:

>>> rld.plot()

You can also plot the (merged) file data a single command, e.g. for preview:

>>> RocketLoggerData('data.rld').merge_channels().plot()

For more details on the individual functions, please refer to the documentation at <https://rocketlogger.ethz.ch/python/>.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rocketlogger-1.1.6.tar.gz (6.0 MB view hashes)

Uploaded Source

Built Distribution

rocketlogger-1.1.6-py32-none-any.whl (25.8 kB view hashes)

Uploaded Python 3.2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page