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.5-3.7
NumPy: version 1.13-1.17
Optional dependencies: * Matplotlib: for plotting data overview * pandas: for DataFrame export
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:
>>> d = rld.get_data(['V1', 'I1']) >>> t = rld.get_time()
A list of the channels existing in the loaded file is provided by:
>>> ch = rld.get_channel_names()
To plot a preview of the data (requires Matplotlib):
>>> p = rld.plot()
You can also plot the (merged) file data a single command, e.g. for preview:
>>> p = RocketLoggerData('data.rld').merge_channels().plot()
For analysis using pandas, the use the following shortcut to get a time indexed dataframe (requires pandas):
>>> df = rld.get_dataframe()
For more details about the individual functions and thier parameters, refer to the documentation available at <https://rocketlogger.ethz.ch/python/>.
RocketLogger Device Calibration
The :RocketLoggerCalibration: class provides the necessary support for generating device calibration files. See the calibration section in the package documentation <https://rocketlogger.ethz.ch/python/> and the RocketLogger wiki at <https://rocketlogger.ethz.ch/wiki/> for more details on the calibration procedure.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rocketlogger-1.99a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f471dea7949c490472ac466ecf4db36633e8974d31dda142f4e75a1b2f28d0f |
|
MD5 | fa5f576c0f1298769a763dc5e60ecfd7 |
|
BLAKE2b-256 | cfc85c946627c3e8cb4f31c740af02fd32491f9544365e171ecccc976cd102b0 |