Name | acti-motus JSON |
Version |
0.1.6
JSON |
| download |
home_page | None |
Summary | Python-powered activity detection algorithms that build upon Acti4, processing data from multiple accelerometers with a required thigh sensor. |
upload_time | 2025-07-17 13:39:23 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | None |
keywords |
accelerometers
activity-classification
movement-behavior
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">
<a href="https://github.com/acti-motus/acti-motus">
<img src="https://github.com/acti-motus/acti-motus/blob/main/docs/acti-motus.png?raw=true" alt="Acti-Motus Logo" height="128px">
</a>
</h1>
<div align="center">
<a href="https://pypi.org/project/acti-motus/">
<img src="https://img.shields.io/pypi/v/acti-motus" alt="PyPi Latest Release"/>
</a>
<a href="https://pypi.org/project/acti-motus/">
<img src="https://img.shields.io/pypi/pyversions/acti-motus.svg" alt="Python Versions"/>
</a>
<a href="https://pepy.tech/projects/acti-motus">
<img src="https://static.pepy.tech/badge/acti-motus/month" alt="Monthly Downloads"/>
</a>
<a href="#">
<img src="#" alt="DOI Latest Release"/>
</a>
<a href="https://github.com/acti-motus/acti-motus/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/acti-motus/acti-motus.svg" alt="License"/>
</a>
</div>
<div align="center">
<p>Developed by the Danish <a href="https://nfa.dk/en">National Research Center for Working Environment (NRCWE)</a> in collaboration with <a href="https://www.sens.dk/en/">SENS Innovation ApS</a></p>
</div>
# Acti-Motus
Python-powered activity detection algorithms that build upon [Acti4](https://github.com/motus-nfa/Acti4), processing data from multiple accelerometers with a **requirement for a thigh-worn sensor**.
- Scientifically validated activity detection
- Device-independent, relies on RAW accelerometry
- Requires only a single accelerometer sensor worn on the thigh (front or side)
- Detects activities: lying, sitting, standing, walking, stair climbing, and bicycling
- An optional back-worn sensor enhances lying and sitting detection
- A calf-worn sensor detects squatting and kneeling
- Python | Multi-threaded
See [documentation](#) for more details.
## Installation
Install using `pip install acti-motus`.
## A Simple Example
```python
import pandas as pd
from acti_motus import Features, Activities, Exposures
df = pd.read_parquet(thigh.parquet)
print(df)
#> acc_x acc_y acc_z
#> datetime
#> 2024-09-02 08:08:50.227000+00:00 0.218750 -0.171875 -0.773438
#> 2024-09-02 08:08:50.307000+00:00 0.257812 -0.203125 -0.937500
#> 2024-09-02 08:08:50.387000+00:00 0.242188 -0.226562 -0.953125
features = Features().extract(df)
acivities, references = Activities().detect(features)
print(activities)
#> activity steps
#> datetime
#> 2024-09-02 08:08:51+00:00 sit 0.0
#> 2024-09-02 08:08:52+00:00 sit 0.0
#> 2024-09-02 08:08:53+00:00 sit 0.0
exposures = Exposures().generate(df)
print(exposures)
#> sedentary standing walking
#> datetime
#> 2024-09-02 00:00:00+00:00 0 days 09:12:21 0 days 04:34:03 0 days 01:26:00
#> 2024-09-03 00:00:00+00:00 0 days 17:05:21 0 days 04:11:19 0 days 01:30:02
#> 2024-09-04 00:00:00+00:00 0 days 18:26:01 0 days 04:05:18 0 days 00:46:19
#> 2024-09-05 00:00:00+00:00 0 days 04:47:29 0 days 00:59:53 0 days 00:08:28
```
Detailed information on Acti-Motus processing and features is available [here](#).
## About Acti4
Developed by Jørgen Skotte, Acti4 was a sophisticated Matlab program designed to process data from multiple accelerometer sensors that participants wore on their thigh, hip, arm, and trunk. The core function of Acti4 was to classify physical activities, such as lying, sitting, standing, or walking. It also offered further calculations to assess a participant's posture by determining arm and trunk inclination. Lastly, these detections could be combined with participant diaries to obtain more contextual information, such as movement behaviour during periods of work and leisure.
The development of Acti4 concluded in July 2020 with its final release. Subsequently, the focus was redirected toward a successor project: rewriting the original Acti4 algorithm in Python. This new initiative, known as Motus, is being developed in partnership with SENS Innovation ApS.
## Contributing
For guidance on setting up a development environment and how to make a contribution to Acti-Motus, see [Contributing to Acti-Motus](#).
Raw data
{
"_id": null,
"home_page": null,
"name": "acti-motus",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "accelerometers, activity-classification, movement-behavior",
"author": null,
"author_email": "Josef Heidler <heidlerjosef@gmail.com>, Jon Roslyng Larsen <xjla@nfa.dk>, Sebastian Asmussen Sode H\u00f8rl\u00fcck <ssh@nfa.dk>",
"download_url": "https://files.pythonhosted.org/packages/10/f7/bf3983096f34539582c509591803fe89689a121b75806800f2784a1cbdc3/acti_motus-0.1.6.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">\n <a href=\"https://github.com/acti-motus/acti-motus\">\n <img src=\"https://github.com/acti-motus/acti-motus/blob/main/docs/acti-motus.png?raw=true\" alt=\"Acti-Motus Logo\" height=\"128px\">\n </a>\n</h1>\n\n<div align=\"center\">\n <a href=\"https://pypi.org/project/acti-motus/\">\n <img src=\"https://img.shields.io/pypi/v/acti-motus\" alt=\"PyPi Latest Release\"/>\n </a>\n <a href=\"https://pypi.org/project/acti-motus/\">\n <img src=\"https://img.shields.io/pypi/pyversions/acti-motus.svg\" alt=\"Python Versions\"/>\n </a>\n <a href=\"https://pepy.tech/projects/acti-motus\">\n <img src=\"https://static.pepy.tech/badge/acti-motus/month\" alt=\"Monthly Downloads\"/>\n </a>\n <a href=\"#\">\n <img src=\"#\" alt=\"DOI Latest Release\"/>\n </a>\n <a href=\"https://github.com/acti-motus/acti-motus/blob/main/LICENSE\">\n <img src=\"https://img.shields.io/github/license/acti-motus/acti-motus.svg\" alt=\"License\"/>\n </a>\n</div>\n\n<div align=\"center\">\n <p>Developed by the Danish <a href=\"https://nfa.dk/en\">National Research Center for Working Environment (NRCWE)</a> in collaboration with <a href=\"https://www.sens.dk/en/\">SENS Innovation ApS</a></p>\n</div>\n\n\n# Acti-Motus\n\nPython-powered activity detection algorithms that build upon [Acti4](https://github.com/motus-nfa/Acti4), processing data from multiple accelerometers with a **requirement for a thigh-worn sensor**.\n\n- Scientifically validated activity detection\n- Device-independent, relies on RAW accelerometry\n- Requires only a single accelerometer sensor worn on the thigh (front or side)\n- Detects activities: lying, sitting, standing, walking, stair climbing, and bicycling\n- An optional back-worn sensor enhances lying and sitting detection\n- A calf-worn sensor detects squatting and kneeling\n- Python | Multi-threaded\n\nSee [documentation](#) for more details.\n\n## Installation\n\nInstall using `pip install acti-motus`.\n\n## A Simple Example\n```python\nimport pandas as pd\nfrom acti_motus import Features, Activities, Exposures\n\ndf = pd.read_parquet(thigh.parquet)\nprint(df)\n#> acc_x acc_y acc_z\n#> datetime \n#> 2024-09-02 08:08:50.227000+00:00 0.218750 -0.171875 -0.773438\n#> 2024-09-02 08:08:50.307000+00:00 0.257812 -0.203125 -0.937500\n#> 2024-09-02 08:08:50.387000+00:00 0.242188 -0.226562 -0.953125\n\nfeatures = Features().extract(df)\nacivities, references = Activities().detect(features)\nprint(activities)\n#> activity steps\n#> datetime \n#> 2024-09-02 08:08:51+00:00 sit 0.0\n#> 2024-09-02 08:08:52+00:00 sit 0.0\n#> 2024-09-02 08:08:53+00:00 sit 0.0\n\nexposures = Exposures().generate(df)\nprint(exposures)\n#> sedentary standing walking\n#> datetime \n#> 2024-09-02 00:00:00+00:00 0 days 09:12:21 0 days 04:34:03 0 days 01:26:00\n#> 2024-09-03 00:00:00+00:00 0 days 17:05:21 0 days 04:11:19 0 days 01:30:02\n#> 2024-09-04 00:00:00+00:00 0 days 18:26:01 0 days 04:05:18 0 days 00:46:19\n#> 2024-09-05 00:00:00+00:00 0 days 04:47:29 0 days 00:59:53 0 days 00:08:28\n```\n\nDetailed information on Acti-Motus processing and features is available [here](#).\n\n## About Acti4\n\nDeveloped by J\u00f8rgen Skotte, Acti4 was a sophisticated Matlab program designed to process data from multiple accelerometer sensors that participants wore on their thigh, hip, arm, and trunk. The core function of Acti4 was to classify physical activities, such as lying, sitting, standing, or walking. It also offered further calculations to assess a participant's posture by determining arm and trunk inclination. Lastly, these detections could be combined with participant diaries to obtain more contextual information, such as movement behaviour during periods of work and leisure.\n\nThe development of Acti4 concluded in July 2020 with its final release. Subsequently, the focus was redirected toward a successor project: rewriting the original Acti4 algorithm in Python. This new initiative, known as Motus, is being developed in partnership with SENS Innovation ApS.\n\n## Contributing\n\nFor guidance on setting up a development environment and how to make a contribution to Acti-Motus, see [Contributing to Acti-Motus](#).\n",
"bugtrack_url": null,
"license": null,
"summary": "Python-powered activity detection algorithms that build upon Acti4, processing data from multiple accelerometers with a required thigh sensor.",
"version": "0.1.6",
"project_urls": {
"Changelog": "https://github.com/acti-motus/acti-motus/blob/main/CHANGELOG.md",
"Documentation": "https://github.com/acti-motus/acti-motus",
"Homepage": "https://github.com/acti-motus/acti-motus",
"Source": "https://github.com/acti-motus/acti-motus"
},
"split_keywords": [
"accelerometers",
" activity-classification",
" movement-behavior"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4494da4c3acbe35bc0e073e2cd5017d38daa105ada7c22f932482180028d08ce",
"md5": "fcac7e4bb7ca0a70ace4f9350b17a691",
"sha256": "1bb5227f925fbbf6a94ece67cfa8d3cd94145778ef7292f6002da188cf0cdc6e"
},
"downloads": -1,
"filename": "acti_motus-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fcac7e4bb7ca0a70ace4f9350b17a691",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 28158,
"upload_time": "2025-07-17T13:39:22",
"upload_time_iso_8601": "2025-07-17T13:39:22.308263Z",
"url": "https://files.pythonhosted.org/packages/44/94/da4c3acbe35bc0e073e2cd5017d38daa105ada7c22f932482180028d08ce/acti_motus-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "10f7bf3983096f34539582c509591803fe89689a121b75806800f2784a1cbdc3",
"md5": "3da029ba28bd53b2a696e59257939a91",
"sha256": "fc1beeb56eca2a985838453ffddb07735455614f7b18c2106c87955ffc448c34"
},
"downloads": -1,
"filename": "acti_motus-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "3da029ba28bd53b2a696e59257939a91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 22483,
"upload_time": "2025-07-17T13:39:23",
"upload_time_iso_8601": "2025-07-17T13:39:23.320358Z",
"url": "https://files.pythonhosted.org/packages/10/f7/bf3983096f34539582c509591803fe89689a121b75806800f2784a1cbdc3/acti_motus-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-17 13:39:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "acti-motus",
"github_project": "acti-motus",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "acti-motus"
}