User Tools

Site Tools


metric_interquartile

Differences

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

Link to this comparison view

Next revision
Previous revision
metric_interquartile [2025/10/06 15:06] – created wikisysopmetric_interquartile [2025/10/06 17:56] (current) – [Command Parameters] wikisysop
Line 29: Line 29:
  
 ====Command Parameters==== ====Command Parameters====
- 
 The following table shows the command parameters seen above and their descriptions: The following table shows the command parameters seen above and their descriptions:
  
Line 47: Line 46:
 ====Dialog===== ====Dialog=====
  
-The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below+The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below:
  
 {{:interquartile_dlg.png}} {{:interquartile_dlg.png}}
Line 53: Line 52:
 The dialog box allows you to assign values to the command parameters outlined above. The dialog box allows you to assign values to the command parameters outlined above.
  
-==== Example: Calculating Joint Work Using Integration ====+==== Example: COFP Range for balance trial ==== 
 +Here the **Metric Interquartile** command is used to analyze center of foot pressure data during a standing trial and compare the ranges computed for a subject's left and right sides. 
  
-Determining the energy contributions of different joints during locomotion can be integral (no pun intended) to understanding the gait cycle and comparing one trial to another. Some subjects may rely more heavily on ankle propulsion, while others may see more energy production from their knees and hips as a result of factors like age or imbalances. +The command for the right side looks like this:
  
-Here we use **Automatic Gait Events** and **Metric Integrate** to compare the work done by a subject's right and left knees while running on a treadmill.   +<code> 
 +Metric_Interquartile 
 +! /RESULT_METRIC_FOLDER=PROCESSED 
 +/RESULT_METRIC_NAME=COFP_RIGHT_INTER 
 +! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE 
 +/SIGNAL_TYPES=COFP 
 +! /SIGNAL_FOLDER=ORIGINAL 
 +/SIGNAL_NAMES=FP3 
 + /COMPONENT_SEQUENCE=ALL 
 +/EVENT_SEQUENCE=START+END 
 +/EXCLUDE_EVENTS= 
 +! /GENERATE_MEAN_AND_STDDEV=TRUE 
 +! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE 
 +! /APPEND_TO_EXISTING_VALUES=FALSE 
 +
 +</code> 
 + 
 +COFP is a 2 dimensional signal, with the X and y components representing the medial/lateral and anterior/posterior directions respectively. The resulting metrics contain an x value and a y value indicating the variation in pressure for each direction during the trial. A larger range indicates greater variation in the COFP value during the trial and a less consistent balance point.   
 + 
 +The results for this trial show a larger range for the right side than left and a greater range in the Y direction than X for both sides. 
 + 
 +{{:cofp_left.png}}{{:cofp_right.png|}} 
 + 
 +====Example: Comparing Interquartile Ranges for joints==== 
 +In this example **Metric Interquartile** is used to compare the left and right ankle angles of subjects running on a treadmill. 
  
-First, define important gait events using **Automatic Gait Events**.+First, **Automatic Gait Events** is used to define key events that will define the following commands:
  
 <code> <code>
Line 69: Line 93:
 </code> </code>
  
-Next we will compute the work done by the left and right knees by integrating knee power with respect to time+Nextthe **Interquartile** command is used to identify the middle 50% range of ankle angle values for both sides between toe and heel strikes.
  
 <code> <code>
-Metric_Integrate+Metric_Interquartile
 ! /RESULT_METRIC_FOLDER=PROCESSED ! /RESULT_METRIC_FOLDER=PROCESSED
-/RESULT_METRIC_NAME=R_Knee_Work+/RESULT_METRIC_NAME=RANKLE_INTER
 ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
 /SIGNAL_TYPES=LINK_MODEL_BASED /SIGNAL_TYPES=LINK_MODEL_BASED
 ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_FOLDER=ORIGINAL
-/SIGNAL_NAMES=RKneePower +/SIGNAL_NAMES=RAnkleAngle 
-/COMPONENT_SEQUENCE=X+/COMPONENT_SEQUENCE=
 /EVENT_SEQUENCE=RHS+RTO /EVENT_SEQUENCE=RHS+RTO
 /EXCLUDE_EVENTS= /EXCLUDE_EVENTS=
-/SEQUENCE_PERCENT_START= 
-/SEQUENCE_PERCENT_END= 
 ! /GENERATE_MEAN_AND_STDDEV=TRUE ! /GENERATE_MEAN_AND_STDDEV=TRUE
 ! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE ! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE
 ! /APPEND_TO_EXISTING_VALUES=FALSE ! /APPEND_TO_EXISTING_VALUES=FALSE
 ; ;
-</code> 
  
-<code> +Metric_Interquartile
-Metric_Integrate+
 ! /RESULT_METRIC_FOLDER=PROCESSED ! /RESULT_METRIC_FOLDER=PROCESSED
-/RESULT_METRIC_NAME=L_Knee_Work+/RESULT_METRIC_NAME=LANKLE_INTER
 ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
 /SIGNAL_TYPES=LINK_MODEL_BASED /SIGNAL_TYPES=LINK_MODEL_BASED
 ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_FOLDER=ORIGINAL
-/SIGNAL_NAMES=LKneePower +/SIGNAL_NAMES=LAnkleAngle 
-/COMPONENT_SEQUENCE=X+/COMPONENT_SEQUENCE=
 /EVENT_SEQUENCE=LHS+LTO /EVENT_SEQUENCE=LHS+LTO
 /EXCLUDE_EVENTS= /EXCLUDE_EVENTS=
-/SEQUENCE_PERCENT_START= 
-/SEQUENCE_PERCENT_END= 
 ! /GENERATE_MEAN_AND_STDDEV=TRUE ! /GENERATE_MEAN_AND_STDDEV=TRUE
 ! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE ! /GENERATE_MEAN_AND_STDDEV_ACROSS_SUBJECTS=FALSE
Line 109: Line 127:
 </code> </code>
  
-6 new metrics have now been computed, the work, mean work, and standards deviation of work done for the left and right knees. Comparing the work done in each stride and mean work done for the left and right sides will help to identify any asymmetry between sides.   +The results for this trial show that the subjects on average exhibited a larger interquartile range for flexion of their left ankles than right.
- +
-The results should look something like this: +
- +
-{{:visual3d:documentation:pipeline:metric_commands:l_knee_work.png?400|}}{{:visual3d:documentation:pipeline:metric_commands:r_knee_work.png?400|}}{{:visual3d:documentation:pipeline:metric_commands:r_knee_mean.png?400|}} +
-====Complex Examples==== +
- +
-  * [[Visual3D:Documentation:Pipeline:Signal_Commands:Impulse|Impulse]] +
-  * [[Visual3D:Documentation:Pipeline:Model_Based_Data_Commands:Joint_Work|Joint_Work]] +
- +
-\\ +
-**NOTE:** When using the Metric_Integrate dialog box, don't forget to Import the desired signals.+
  
 +{{:lankle_inter.png|}}{{:rankle_inter.png|}}
metric_interquartile.1759763176.txt.gz · Last modified: 2025/10/06 15:06 by wikisysop