visual3d:documentation:pipeline:metric_commands:metric_compute_gait_signal_stats
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:metric_compute_gait_signal_stats [2025/09/17 19:59] – wikisysop | visual3d:documentation:pipeline:metric_commands:metric_compute_gait_signal_stats [2025/09/23 17:46] (current) – [Notes and Examples] wikisysop | ||
---|---|---|---|
Line 49: | Line 49: | ||
The pipeline command is as follows: | The pipeline command is as follows: | ||
+ | < | ||
Metric_Compute_Gait_Signal_Stats | Metric_Compute_Gait_Signal_Stats | ||
/ | / | ||
Line 68: | Line 69: | ||
! / | ! / | ||
; | ; | ||
+ | </ | ||
====Command Parameters==== | ====Command Parameters==== | ||
Line 80: | Line 82: | ||
|**COMPUTE_LEFT/ | |**COMPUTE_LEFT/ | ||
|**RESULT_FOLDER**|**Assigning folder to hold results.**| | |**RESULT_FOLDER**|**Assigning folder to hold results.**| | ||
- | |**ABC_EVENT**|**Assigning names to events.**| | + | |**---_EVENT**|**Assigning names to events.**| |
|**LEFT/ | |**LEFT/ | ||
|**RESULT_NAME_SUFFIX**|**Specify suffix applied to results**| | |**RESULT_NAME_SUFFIX**|**Specify suffix applied to results**| | ||
Line 100: | Line 102: | ||
Several of the command parameters affect the signal that is created. | Several of the command parameters affect the signal that is created. | ||
- | === Example1 | + | ===Example 1=== |
This group of commands results in a metric signal being created in the SIGNAL_STATS folder that is the same name as / | This group of commands results in a metric signal being created in the SIGNAL_STATS folder that is the same name as / | ||
- | /RESULT_FOLDER=SIGNAL_STATS | + | < |
- | /APPEND_COMPONENT_TO_RESULT_NAME=FALSE | + | Metric_Compute_Gait_Signal_Stats |
- | /RESULT_NAME_SUFFIX= | + | / |
+ | /SIGNAL_FOLDER=ORIGINAL | ||
+ | ! /SIGNAL_NAMES= | ||
+ | ! /SIGNAL_COMPONENTS= | ||
/ | / | ||
- | / | + | / |
- | \\ | + | / |
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | + | ===Example 2=== | |
- | === Example2 | + | |
This group of commands results in a metric signal being created in the SIGNAL_STATS folder that appends the string _Stats to the name in the / | This group of commands results in a metric signal being created in the SIGNAL_STATS folder that appends the string _Stats to the name in the / | ||
+ | < | ||
+ | Metric_Compute_Gait_Signal_Stats | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
/ | / | ||
- | /APPEND_COMPONENT_TO_RESULT_NAME=TRUE | + | ! /RHS_EVENT=RHS |
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
/ | / | ||
- | /COMPONENT_SEQUENCE=X | + | /APPEND_COMPONENT_TO_RESULT_NAME=TRUE |
/ | / | ||
- | \\ | + | ; |
+ | </ | ||
+ | ===Example 3=== | ||
- | === Example3 === | + | Computing stats from force plate data for left ankle angle using **Automatic Gait Events**: This group of commands results in a metric signal being created in the SIGNAL_STATS folder for all components of the left ankle angle during a trial. The command appends the string " |
- | This group of commands results | + | Gait events describe key moments |
- | / | + | Start by loading any trial with force plate data for a gait cycle. First, we will use **Automatic Gait Events** to label the key events in the cycle. |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | \\ | + | |
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | === Example4 === | + | Next we will use **Metric Compute Gait Signal Stats** to calculate key statistics for the **left ankle angle** using the events we just defined. |
- | This group of commands results in a metric signal being created in the SIGNAL_STATS folder that appends the string " | + | < |
- | + | Metric_Compute_Gait_Signal_Stats | |
- | /RESULT_FOLDER=SIGNAL_STATS | + | / |
- | /APPEND_COMPONENT_TO_RESULT_NAME=TRUE | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | /RESULT_NAME_SUFFIX=_Stats | + | /SIGNAL_NAMES=LAnkleAngle |
+ | ! /SIGNAL_COMPONENTS= | ||
/ | / | ||
- | /MERGE_COMPONENTS=FALSE | + | /COMPUTE_LEFT_SIDE=TRUE |
- | === Example5 === | + | / |
- | + | ! / | |
- | This group of commands results in a metric signal being created in the SIGNAL_STATS folder that appends the string " | + | ! /RHS_EVENT=RHS |
- | + | ! /LHS_EVENT=LHS | |
- | /RESULT_FOLDER=SIGNAL_STATS | + | ! /RTO_EVENT=RTO |
- | /APPEND_COMPONENT_TO_RESULT_NAME=FALSE | + | ! /LTO_EVENT=LTO |
- | / | + | ! /LEFT_SIDE_RESULT_NAME_PREFIX=L_ |
- | /COMPONENT_SEQUENCE=ALL | + | ! /RIGHT_SIDE_RESULT_NAME_PREFIX=R_ |
- | / | + | ! / |
+ | /APPEND_COMPONENT_TO_RESULT_NAME=TRUE | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | The resulting folders and data should look something like this: | ||
+ | {{: |
visual3d/documentation/pipeline/metric_commands/metric_compute_gait_signal_stats.1758139164.txt.gz · Last modified: 2025/09/17 19:59 by wikisysop