EarGait - The Gait Analysis Package for Ear-Worn IMU Sensors !
EarGait provides a set of algorithms and functions to process IMU data recorded with ear-worn IMU sensors and to estimate characteristic gait parameters.
Getting started
Installation
Easily install eargait via pip:
pip install eargait
or add it to your project with poetry:
poetry add eargait
Newest version 1.2.0 should be installed.
Prerequisites
EarGait only supports Python 3.8 and newer. First, install a compatible version of Python.
Help with setting up a virtual environment
We recommend installing the packages in a virtual environment (e.g. conda/Anaconda/miniconda).
For more information regarding Anaconda, please visit Anaconda.com.
If you want to install the packages directly on the local python version, directly go to Install Packages
If you are familiar with virtual environments you can ``also use any other type of virtual environment. Furthermore, you can also directly install the python packages on the local python version, however, we would not recommend doing so.
In PyCharm
See documentation.
Shell/Terminal
First, verify that you have a working conda installation. Open a terminal/shell and type
conda env list
If an error message similar to the one below is displayed, you probably do not have a working conda version installed.
conda: command not found
In the shell/terminal:
conda create --no-default-packages -n gait_analysis python=3.8
gait_analysis is the name of the virtual environment. This environment can now also be included in PyCharm,
as described See here
by using the existing environment option.
To check, whether the virtual environment has been created successfully, run again:
conda env list
The environment gait_analysis should now be displayed.
Activate conda environment and install packages (see below).
conda activate gait_analysis
For more help: Conda Documentation
Install Package in virtual environment
If you are using the conda environment, activate environment (in shell/terminal) (see above).
Update pip and install eargait.
pip install --upgrade pip
pip install eargait
Check successful installation
To check whether the installation was successful, run the following line directly after installing eargait in the same shell/terminal:
python examples/check_installation/check_installation.py
Should return: Installation was successful!
Learn More
Documentation, User Guide, Coordinate Systems
Dev Setup
We are using poetry to manage dependencies and poethepoet to run and manage dev tasks.
To set up the dev environment including the required dependencies for using EarGait run the following commands:
git clone https://github.com/mad-lab-fau/eargait
cd eargait
poetry install
Afterwards you can start to develop and change things. If you want to run tests, format your code, build the docs, ..., you can run one of the following poethepoet commands
CONFIGURED TASKS
format
lint Lint all files with Prospector.
check Check all potential format and linting issues.
test Run Pytest with coverage.
docs Build the html docs using Sphinx.
bump_version
by calling
poetry run poe <command name>
Citing EarGait
If you use Eargait in your work, please report the version you used in the text. Additionally, please also cite the corresponding paper:
[1] Seifer et al., "EarGait: estimation of temporal gait parameters from hearing aid
integrated inertial sensors." Sensors 23(14), 2023. https://doi.org/10.3390/s23146565.
[2] PREPRINT Seifer et al., (2023). Step length and gait speed estimation using a hearing aid
integrated accelerometer: A comparison of different algorithms.
Links:
[1] Seifer et al., (2023), Temporal Parameter Paper
[2] Seifer et al., (2023); Spatial Parameter Paper --> PREPRINT
Acknowledgement
EarGait is part of a research project from the Machine Learning and Data Analytics Lab, Friedrich-Alexander Universität Erlangen-Nürnberg. The authors thank WS Audiology, Erlangen, Germany and Lynge, Denmark for funding the work and their support which made this contribution possible.
Contribution
The entire development is managed via GitHub. If you run into any issues, want to discuss certain decisions, want to contribute features or feature requests, just reach out to us by opening a new issue.
Metadata
Release files for eargait 3.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eargait-3.4.0-py3-none-any.whl | Python 3 | none | any | Details for eargait-3.4.0-py3-none-any.whl |
Release files / eargait-3.4.0-py3-none-any.whl
| Download URL | eargait-3.4.0-py3-none-any.whl |
|---|---|
| Size | 21.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48e81240da21e1a22420f37941d7de029cc8c4a9128533fb959c0bcf309dcabc
|
|
BLAKE2b-256 checksum How to use checksums |
f12c7d04f5a3129fcbfd4176965cbfd0d924bf99a8f0fbe0e105f90231cdcb50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1020-azure
|
Security for eargait 3.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.