User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_median

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
visual3d:documentation:pipeline:metric_commands:metric_median [2025/09/18 18:40] wikisysopvisual3d:documentation:pipeline:metric_commands:metric_median [2025/10/02 15:59] (current) – [Example] wikisysop
Line 76: Line 76:
 If you want each trial to have a median, and then create a median of those medians, you need to run a second command for metric median on the result of the first commands _median. (ie; One trial has 4 ranges, second trial has 1 range. The command will create a median in each trial containing an overall median for the trial, the global median would be the median of the medians). If you want each trial to have a median, and then create a median of those medians, you need to run a second command for metric median on the result of the first commands _median. (ie; One trial has 4 ranges, second trial has 1 range. The command will create a median in each trial containing an overall median for the trial, the global median would be the median of the medians).
  
 +====Example: Median athlete age in trial===
 +Here we use the **Metric Median** command to find the median age of athletes involved in a baseball hitting trial. 
  
 +The command is as follows:
  
 +<code>
 +Metric_Median
 +/RESULT_METRIC_FOLDER=PROCESSED
 +/RESULT_METRIC_NAME=Median_age
 +! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
 +/SIGNAL_TYPES=METRIC
 +/SIGNAL_FOLDER=meta
 +/SIGNAL_NAMES=athlete_age
 +! /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 resulting metric can be found within the **METRIC/PROCCESSED** folder:
 +
 +{{:visual3d:documentation:pipeline:metric_commands:athlete_age.png?400|}}
visual3d/documentation/pipeline/metric_commands/metric_median.txt · Last modified: 2025/10/02 15:59 by wikisysop