Skip to content

Commit

Permalink
adapted get_rotation_method to work with new txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
Aksei committed Sep 5, 2024
1 parent caad5d9 commit 7a9e364
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eargait/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""The Gait and Movement Analysis Package based on Ear-worn Sensor."""

__version__ = "2.10.0"
__version__ = "2.11.0"

from eargait.eargait import EarGait

Expand Down
2 changes: 1 addition & 1 deletion eargait/preprocessing/rotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _sanity_check_gravity_aligned_data_ebf_single(dataset):
def _get_rotation(session: Union[SyncedSession, Session, str]) -> Dict:
if isinstance(session, Session) or session == "signia":

if "D12" in session.info.firmware_version[0]:
if "D12" in session.info.platform[0] or "D12" in session.info.firmware_version[0]:
if "BMA400" == session.info.imu_sensor_type[0]:
rot_matrices = _get_rot_matrix_d12_bma400()
else:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "eargait"
version = "2.10.0"
version = "2.11.0"
description = "*Eargait* provides a set of algorithms and functions to process IMU data recorded with ear-worn IMU sensors and to estimate characteristic gait parameters. "
authors = ["Ann-Kristin Seifer <[email protected]>",
"Arne Küderle <[email protected]>"]
Expand Down

0 comments on commit 7a9e364

Please sign in to comment.