visual3d:documentation:pipeline:metric_commands:metric_time_of_minimum_from_event
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_time_of_minimum_from_event [2024/07/12 14:04] – created sgranger | visual3d:documentation:pipeline:metric_commands:metric_time_of_minimum_from_event [2025/09/25 14:36] (current) – [Examples] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | ====Overview==== | ||
+ | The **Metric Time of Minimum from Event** command can be used to compute the time between an event and a minimum signal. For example, this command could be used to determine the time between initial foot contact with the ground and minimum grf. The command can be found in the **Pipeline Workshop** under **Metric**. | ||
+ | |||
+ | ====Pipeline Command==== | ||
+ | |||
+ | The command syntax is as follows: | ||
+ | |||
+ | < | ||
+ | Metric_Time_Of_Minimum_From_Event | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ====Command Parameters==== | ||
+ | |||
+ | The following table shows the command parameters seen above and their descriptions: | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**FRAME_WINDOW** | ||
+ | |**THRESHOLD** | ||
+ | |||
+ | |||
+ | ====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 dialog box allows you to assign values to the command parameters outlined above. | ||
+ | |||
+ | ====Notes==== | ||
Event_Labels are defined by the c3d format. Event_Labels exist only at Motion Capture frames (e.g. at Point Rate). For model based kinematic and kinetic calculations this is fine, because these signals only exist at Motion Capture frames. | Event_Labels are defined by the c3d format. Event_Labels exist only at Motion Capture frames (e.g. at Point Rate). For model based kinematic and kinetic calculations this is fine, because these signals only exist at Motion Capture frames. | ||
Line 7: | Line 72: | ||
In Version 5 a series of metric commands were introduced to identify the time of a threshold crossing or maximum at the analog rate. | In Version 5 a series of metric commands were introduced to identify the time of a threshold crossing or maximum at the analog rate. | ||
- | {{MetricTimeofMinimumfromEvent.png}} | + | ====Example: |
+ | Here we will use **Metric Time of Minimum from Event** to find the time it takes a subject to reach a local minimum knee extension value (most knee bend) after each toe off. | ||
- | **Metric_Time_Of_Minimum_From_Event** | + | Pipeline Command: |
- | /RESULT_EVENT_NAME= | + | < |
- | ! /SIGNAL_TYPES= | + | Metric_Time_Of_Minimum_From_Event |
- | ! /SIGNAL_NAMES= | + | /RESULT_METRIC_TIME=R_Knee_ext_time |
- | ! / | + | /RESULT_METRIC_VALUE=R_knee_ext_val |
- | ! / | + | /RESULT_FOLDER=PROCESSED |
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
! / | ! / | ||
! / | ! / | ||
- | ! / | + | / |
! / | ! / | ||
! / | ! / | ||
Line 24: | Line 95: | ||
! / | ! / | ||
! / | ! / | ||
- | ! /SELECT_X= | ||
- | ! /SELECT_Y= | ||
- | ! /SELECT_Z= | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
! / | ! / | ||
- | **;** | + | ! / |
+ | ; | ||
+ | </ | ||
+ | |||
+ | ====Complex Example: Comparing Time to Minimum Ankle Moment and Time to Minimum Ankle Power==== | ||
+ | Here we will build on the example above and use the **Metric Time of Minimum From Event** command along with the **Automatic Gait Signals** command to compare the time it takes to reach minimum ankle moment after a heel strike with the time it takes the reach the minimum ankle power on the same side and identify a relationship. | ||
+ | |||
+ | Start by defining key gait events for the trial using **Automatic Gait Events**: | ||
+ | |||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Next we will compute the value and time to minimum value after heel strike of the ankle power and ankle moment for the right leg: | ||
+ | |||
+ | < | ||
+ | Metric_Time_Of_Minimum_From_Event | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Metric_Time_Of_Minimum_From_Event | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Four new folders within **PROCESSED** in the **METRIC** folder tell us how long it takes to reach the minimum right ankle power and right GRF values as well as the time it takes to reach those values. | ||
+ | {{: | ||
+ | {{: |
visual3d/documentation/pipeline/metric_commands/metric_time_of_minimum_from_event.1720793099.txt.gz · Last modified: 2024/07/12 14:04 by sgranger