You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial refactor of output
Moved OrchestratorResults model to io/writers
We now output a .json file with the config parameters
* Update test_orchestrator_smoke.py
Simple test
* Update test_orchestrator_smoke.py
Fix typo of default calibrator...
* Update test_orchestrator_smoke.py
trying to push actions
* Renaming attributes for csv export
* Create test_writers.py
Test empty params
* This is covered by `validate_output`
* Update README.md
Fixing missing readme update from previous PR
* Fixing typos
* Update README.md
Docker tag missing
* Update metrics.py
Ruff line length
* Update README.md
Adding block note for macOS
Adding uv installation instructions
* PR edits
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update writers.py
One day I will run the pre-commit hooks locally...
* Update README.md
Add line about wristpy --help
* Update calibration.py
Fix logger level for this warning
* Changes from meeting
Clearly define 3.13 not support in pyproject.toml
Change logger level + handling of verbosity
* Update poetry.lock
* Adding logger info, suppressing polars warning
* Update orchestrator.py
Fixing logging level information for when files/directory completed successfully.
* Update test_orchestrator.py
Fixed mims test for new writers output
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The package currently supports the following formats:
25
25
| BIN | GENEActiv | GENEActiv | ✅ |
26
26
27
27
**Special Note**
28
-
The `idle_sleep_mode` for Actigraph watches will lead to uneven sampling rates during periods of no motion (read about this [here](https://actigraphcorp.my.site.com/support/s/article/Idle-Sleep-Mode-Explained)). Consequently, this causes issues when implementing wristpy's non-wear and sleep detection. As of this moment, we fill in the missing acceleration data with the assumption that the watch is perfeclty idle in the face-up position (Acceleration vector = [0, 0, -1]). The data is filled in at the same sampling rate as the raw acceleration data. In the special circumstance when acceleration samples are not evenly spaced, the data is resampled to the highest effective sampling rate to ensure linearly sampled data.
28
+
The `idle_sleep_mode` for Actigraph watches will lead to uneven sampling rates during periods of no motion (read about this [here](https://actigraphcorp.my.site.com/support/s/article/Idle-Sleep-Mode-Explained)). Consequently, this causes issues when implementing wristpy's non-wear and sleep detection. As of this moment, we fill in the missing acceleration data with the assumption that the watch is perfectly idle in the face-up position (Acceleration vector = [0, 0, -1]). The data is filled in at the same sampling rate as the raw acceleration data. In the special circumstance when acceleration samples are not evenly spaced, the data is resampled to the highest effective sampling rate to ensure linearly sampled data.
29
29
30
30
## Processing pipeline implementation
31
31
@@ -37,12 +37,21 @@ The main processing pipeline of the wristpy module can be described as follows:
37
37
-**Metrics Calculation**: Calculates various metrics on the calibrated data, namely ENMO (Euclidean norm , minus one) and angle-Z (angle of acceleration relative to the *x-y* axis).
38
38
-**Non-wear detection**: We find periods of non-wear based on the acceleration data. Specifically, the standard deviation of the acceleration values in a given time window, along each axis, is used as a threshold to decide `wear` or `not wear`.
39
39
-**Sleep Detection**: Using the HDCZ<sup>1</sup> and HSPT<sup>2</sup> algorithms to analyze changes in arm angle we are able to find periods of sleep. We find the sleep onset-wakeup times for all sleep windows detected.
40
-
-**Physical activity levels**: Using the enmo data (aggreagated into epoch 1 time bins, 5 second default) we compute activity levels into the following categories: inactivity, light activity, moderate activity, vigorous activity. The default threshold values have been chosen based on the values presented in the Hildenbrand 2014 study<sup>3</sup>.
40
+
-**Physical activity levels**: Using the enmo data (aggregated into epoch 1 time bins, 5 second default) we compute activity levels into the following categories: inactivity, light activity, moderate activity, vigorous activity. The default threshold values have been chosen based on the values presented in the Hildenbrand 2014 study<sup>3</sup>.
41
41
42
42
43
43
## Installation
44
44
45
-
Install this package from PyPI via :
45
+
> ### ⚠️ Important Note for macOS Users
46
+
>
47
+
> **wristpy** depends on `libomp`, a system-level dependency that is not always installed by default on macOS. Install it via:
0 commit comments