User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_time_of_global_maximum_from_event

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_time_of_global_maximum_from_event [2025/09/19 15:15] wikisysopvisual3d:documentation:pipeline:metric_commands:metric_time_of_global_maximum_from_event [2025/09/25 17:28] (current) – [Examples] wikisysop
Line 71: Line 71:
 This page details the command **Metric_Time_Of_Global_Maximum_From_Event** that will calculate the Global Maximum timing from an Event at the analog rate. This page details the command **Metric_Time_Of_Global_Maximum_From_Event** that will calculate the Global Maximum timing from an Event at the analog rate.
  
-====Examples====+====Example: Time Between Foot On and Max GRF==== 
 +Here we use the **Metric Time Of Global Maximum from Event** command to find how long it takes a baseball player to reach max GRF in their lead leg after planting their food. 
  
 +<code>
 +Metric_Time_Of_Global_Maximum_From_Event
 +/RESULT_METRIC_TIME=MAX_L_GRF_TIME
 +/RESULT_METRIC_VALUE=MAX_L_GRF_VALUE
 +! /RESULT_FOLDER=PROCESSED
 +! /RESULT_COMPONENTS=ALL
 +/SIGNAL_TYPES=FORCE
 + /SIGNAL_FOLDER=ORIGINAL
 + /SIGNAL_NAMES=FP1
 +/SIGNAL_COMPONENTS=Z
 +! /FRAME_OFFSET=0
 +! /TIME_OFFSET=
 +/EVENT_SEQUENCE=LON
 +! /EXCLUDE_EVENTS=
 +! /EVENT_SEQUENCE_INSTANCE=0
 +! /EVENT_SUBSEQUENCE=
 +! /SUBSEQUENCE_EXCLUDE_EVENTS=
 +! /EVENT_SUBSEQUENCE_INSTANCE=0
 +! /EVENT_INSTANCE=0
 +! /THRESHOLD=
 +;
 +</code>
 +
 +====Example 2: Comparing Lead Foot GRF to Bat Speed====
 +Here we use **Metric Time Of Global Maximum from Event** along with **Metric Time Between Events** to perform analysis on lead leg loading and bat speed in the baseball swing. 
 +
 +First we will find the amount of time it takes the hitter to make their stride before the pitch arrives, this can vary hitter to hitter depending on individual mechanics, the pitch variety, and situation. Some hitters won't make a stride at all. 
 +
 +<code>
 +Metric_Time_Between_Events
 +/RESULT_METRIC_NAME=Lead leg plant time
 +! /RESULT_METRIC_FOLDER=PROCESSED
 +/EVENT_SEQUENCE=LOFF+LON
 +/EXCLUDE_EVENTS=
 +! /SCALE_FACTOR=1
 +/GENERATE_MEAN_AND_STDDEV=FALSE
 +! /APPEND_TO_EXISTING_VALUES=FALSE
 +;
 +</code>
 +
 +Next we will find the time between planting the lead foot and reaching max GRF as well as max bat speed in the z axis. 
 +
 +<code>
 +Metric_Time_Of_Global_Maximum_From_Event
 +/RESULT_METRIC_TIME=MAX_L_GRF_TIME
 +/RESULT_METRIC_VALUE=MAX_L_GRF_VALUE
 +! /RESULT_FOLDER=PROCESSED
 +! /RESULT_COMPONENTS=ALL
 +/SIGNAL_TYPES=FORCE
 + /SIGNAL_FOLDER=ORIGINAL
 + /SIGNAL_NAMES=FP1
 +/SIGNAL_COMPONENTS=Z
 +! /FRAME_OFFSET=0
 +! /TIME_OFFSET=
 +/EVENT_SEQUENCE=LON
 +! /EXCLUDE_EVENTS=
 +! /EVENT_SEQUENCE_INSTANCE=0
 +! /EVENT_SUBSEQUENCE=
 +! /SUBSEQUENCE_EXCLUDE_EVENTS=
 +! /EVENT_SUBSEQUENCE_INSTANCE=0
 +! /EVENT_INSTANCE=0
 +! /THRESHOLD=
 +;
 +
 +Metric_Time_Of_Global_Maximum_From_Event
 +/RESULT_METRIC_TIME=MAX_BSpeed_TIME
 +/RESULT_METRIC_VALUE=MAX_BSpeed_VALUE
 +! /RESULT_FOLDER=PROCESSED
 +! /RESULT_COMPONENTS=ALL
 +/SIGNAL_TYPES=LINK_MODEL_BASED
 + /SIGNAL_FOLDER=ORIGINAL
 + /SIGNAL_NAMES=BAT_ANGULAR_VELOCITY
 +/SIGNAL_COMPONENTS=Z
 +! /FRAME_OFFSET=0
 +! /TIME_OFFSET=
 +/EVENT_SEQUENCE=LON
 +! /EXCLUDE_EVENTS=
 +! /EVENT_SEQUENCE_INSTANCE=0
 +! /EVENT_SUBSEQUENCE=
 +! /SUBSEQUENCE_EXCLUDE_EVENTS=
 +! /EVENT_SUBSEQUENCE_INSTANCE=0
 +! /EVENT_INSTANCE=0
 +! /THRESHOLD=
 +;
 +</code>
 +
 +5 new metrics have now been created; Lead Leg Plant Time, Time to max bat speed from plant, max bad speed value, time to max GRF from plant, and max GRF value.
 +
 +Compare the time to max bat speed and time to max GRF:
 +
 +{{:visual3d:documentation:pipeline:metric_commands:time_to_bat.png?400|}}{{:visual3d:documentation:pipeline:metric_commands:time_to_grf.png?400|}}
 +
 +For this individual's swing we see that the fastest bat speed is reached shortly after the greatest lead leg GRF is achieved.
visual3d/documentation/pipeline/metric_commands/metric_time_of_global_maximum_from_event.txt · Last modified: 2025/09/25 17:28 by wikisysop