User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_stddev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:metric_commands:metric_stddev [2025/09/18 20:15] wikisysopvisual3d:documentation:pipeline:metric_commands:metric_stddev [2025/10/02 19:27] (current) – [Example] wikisysop
Line 55: Line 55:
 In the following example, compute the Standard Deviation of the signal HANDSPEED In the following example, compute the Standard Deviation of the signal HANDSPEED
  
 +<code>
 +Metric_StdDev
 +! /RESULT_METRIC_FOLDER=PROCESSED
 +/RESULT_METRIC_NAME=Handspeed_SD
 +! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
 +/SIGNAL_TYPES=DERIVED
 +/SIGNAL_FOLDER=PROCESSED
 +/SIGNAL_NAMES=HANDSPEED
 +/COMPONENT_SEQUENCE=ALL
 +/EVENT_SEQUENCE=FRAME1+GO
 +/EXCLUDE_EVENTS=MAX_SPEED
 +! /GENERATE_MEAN_AND_STDDEV=TRUE
 +! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE
 +! /APPEND_TO_EXISTING_VALUES=FALSE
 +;
 +</code>
  
 |**Metric_StdDev**                                                                                      |                                                                                                                                                                                                                                                                                                                                      | |**Metric_StdDev**                                                                                      |                                                                                                                                                                                                                                                                                                                                      |
Line 72: Line 88:
 |**;**                                                                                                  |                                                                                                                                                                                                                                                                                                                                      | |**;**                                                                                                  |                                                                                                                                                                                                                                                                                                                                      |
  
 +====Stride Time STD Deviation====
 +Here the **Metric StdDev==== command and **Metric Time Between Events** are used together to find the std deviation in the time between right heel strikes. 
  
 +First gait events must be defined:
  
 +<code>
 +Automatic_Gait_Events
 +! /FRAME_WINDOW=8
 +! /USE_TPR=TRUE
 +! /TPR_EVENT_INSTANCE=1
 +;
 +</code>
 +
 +Next **Metric Time Between Events** is used to compute the time between each RHS (which is being used here as stride time):
 +
 +<code>
 +Metric_Time_Between_Events
 +/RESULT_METRIC_NAME=Stride_Time
 +! /RESULT_METRIC_FOLDER=PROCESSED
 +/EVENT_SEQUENCE=RHS+RHS
 +/EXCLUDE_EVENTS=
 +! /SCALE_FACTOR=1
 +/GENERATE_MEAN_AND_STDDEV=FALSE
 +! /APPEND_TO_EXISTING_VALUES=FALSE
 +;
 +</code>
 +
 +Finally, **Metric StdDev** is used to find the std deviation in stride time across all trials:
 +
 +<code>
 +Metric_StdDev
 +/RESULT_METRIC_FOLDER=PROCESSED
 +/RESULT_METRIC_NAME=Stride_Time_SD
 +! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
 +/SIGNAL_TYPES=METRIC
 +/SIGNAL_FOLDER=PROCESSED
 +/SIGNAL_NAMES=Stride_Time
 +! /COMPONENT_SEQUENCE=
 +/EVENT_SEQUENCE=
 +/EXCLUDE_EVENTS=
 +! /GENERATE_MEAN_AND_STDDEV=TRUE
 +! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE
 +! /APPEND_TO_EXISTING_VALUES=FALSE
 +;
 +</code>
 +
 +The results should look similar to below:
 +
 +{{:visual3d:documentation:pipeline:metric_commands:stride_stddev.png?600|}}
visual3d/documentation/pipeline/metric_commands/metric_stddev.1758226504.txt.gz · Last modified: 2025/09/18 20:15 by wikisysop