v1.1.0: document corrected axis orientation
Browse files
README.md
CHANGED
|
@@ -221,20 +221,23 @@ Accelerometer values use the **hub standard axis convention**, shared across all
|
|
| 221 |
|
| 222 |
Harmonized accelerometer data is presented in a **front-thigh frame** — as if the sensor were mounted on the anterior surface of the dominant thigh. The physical sensor (Axivity AX6) was originally worn on the **lateral side of the dominant thigh** (midway between hip and knee); corrections transform the native lateral-thigh axes to the front-thigh convention.
|
| 223 |
|
| 224 |
-
Native lateral-thigh axes
|
| 225 |
|
| 226 |
-
| axis | right thigh
|
| 227 |
-
|------|----------------------
|
| 228 |
-
| x | down
|
| 229 |
-
| y |
|
| 230 |
-
| z |
|
| 231 |
|
| 232 |
-
The
|
| 233 |
|
| 234 |
-
Correction applied to reach front-thigh (hub) frame — x=up, y=right, z=forward:
|
| 235 |
|
| 236 |
-
- **
|
| 237 |
-
- **
|
|
|
|
|
|
|
|
|
|
| 238 |
|
| 239 |
`plucky-python` and `royal-robin` have `dominant_leg` overridden to `right` per the upstream `code/main.ipynb` correction, so they receive the right-dominant correction path.
|
| 240 |
|
|
|
|
| 221 |
|
| 222 |
Harmonized accelerometer data is presented in a **front-thigh frame** — as if the sensor were mounted on the anterior surface of the dominant thigh. The physical sensor (Axivity AX6) was originally worn on the **lateral side of the dominant thigh** (midway between hip and knee); corrections transform the native lateral-thigh axes to the front-thigh convention.
|
| 223 |
|
| 224 |
+
Native lateral-thigh axes, **verified from the raw sit/cycling ground truth** (median gravity per posture), standing upright:
|
| 225 |
|
| 226 |
+
| axis | meaning | right thigh | left thigh |
|
| 227 |
+
|------|----------------------|-------------|------------|
|
| 228 |
+
| x | long axis | down | down |
|
| 229 |
+
| y | anterior–posterior | +y backward | +y forward |
|
| 230 |
+
| z | medio-lateral | lateral | lateral |
|
| 231 |
|
| 232 |
+
The anterior–posterior axis is **y** (not z), and the medio-lateral axis is **z** — the reverse of an earlier assumption that rotated the harmonized frame 90° (anterior gravity landed on −y). The y-sign is mirrored between sides because the mirrored placement rotates the device ≈180° about the long axis.
|
| 233 |
|
| 234 |
+
Correction applied to reach front-thigh (hub) frame — x=up, y=right, z=forward — a proper rotation:
|
| 235 |
|
| 236 |
+
- **Both**: `acc_x ← -acc_x` (long axis up).
|
| 237 |
+
- **Right-dominant**: `acc_y ← -acc_z`, `acc_z ← -acc_y`.
|
| 238 |
+
- **Left-dominant**: `acc_y ← acc_z`, `acc_z ← acc_y`.
|
| 239 |
+
|
| 240 |
+
A per-subject safety normalization then enforces sitting `acc_z` positive (falling back to cycling), guarding against any mislabeled dominant leg. Verified: **every subject reads sitting acc_z positive** (and cycling acc_z positive), matching the other thigh datasets on this hub.
|
| 241 |
|
| 242 |
`plucky-python` and `royal-robin` have `dominant_leg` overridden to `right` per the upstream `code/main.ipynb` correction, so they receive the right-dominant correction path.
|
| 243 |
|