Moticon-OpenGo is a Python library which makes it easy to work with Moticon OpenGo data.
It improves the productivity of researchers and motion analysts, helping in the phase in between data collection and final outcome assessment.
The library provides functionality both for working with raw data collected using Moticon OpenGo Sensor Insoles, and also the report data generated by the different report modules of the OpenGo Software.
This documentation incluces simple examples, encouraging also less experienced script programmers to go beyond spreadsheet-based data processing.
To install Moticon-OpenGo, run the following command in your Python environment:
pip install moticon-opengo
The Moticon-OpenGo library provides functions for processing the data output of the OpenGo Software.
Assume we have a bunch of .txt
files exported from a .go
file using the
OpenGo Software's text export. This library allows you to load and process
these .txt
files as demonstrated in the example
examples/demo_text_export_grf_curves.py
.
If the measurement contains manually set events, then these events are also
contained in the text export, and made available by the Python library. The
example examples/demo_text_export_events.py
shows how this can be used for
convenient slicing of measurement data.
Assume we have a bunch of .xlsx
files exported using the OpenGo Software's
gait report. This library allows you to load and process these files as
demonstrated in the example examples/demo_gait_report.py
.
This section is for contributors who want to adapt/extend the Moticon-OpenGo library. If you only want to make use of Moticon-OpenGo as-is for processing your sensor insole data, then you can skip this section.
For development, install Moticon-OpenGo as follows:
pip install -e ."[test,dev]"
To run the tests, make sure you have the package installed with test
extra
(see section "Build" above). Run the tests as follows:
pytest