MS Monitoring Documentation
Welcome to the MS Monitoring documentation.
This documentation describes the repository structure, the command-line tools, the shared utility layer, and the movement and gait detection pipeline used in the project.
Project overview
The repository is organized around two main processing stages:
Bottom-up semantic construction - retrieval of distinct CodeIDs from InfluxDB - construction of activity_leg - construction of bilateral activity_all
Movement and gait detection - retrieval of activity_all - leg-level inertial processing - detection of effective_movement - derivation of effective_gait - GPS-based enrichment of gait intervals
High-Level Workflow
![digraph overview {
rankdir=LR;
graph [fontname="Helvetica"];
node [shape=box, fontname="Helvetica"];
edge [fontname="Helvetica"];
FindMSCodeIDs [label="find_mscodeids CLI"];
ActivityLeg [label="activity_leg"];
ActivityAll [label="activity_all"];
FindGait [label="find_gait CLI"];
EffectiveMove [label="effective_movement"];
EffectiveGait [label="effective_gait\n(+ GPS validation)"];
FindMSCodeIDs -> ActivityLeg -> ActivityAll -> FindGait -> EffectiveMove -> EffectiveGait;
}](_images/graphviz-eb428dde1a9cec78562cc80139a9a4059e4a02e6.png)
High-level pipeline overview