visual3d:documentation:pipeline:event_commands:event_between
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:event_commands:event_between [2025/02/14 15:39] – [Examples] wikisysop | visual3d:documentation:pipeline:event_commands:event_between [2025/04/16 15:46] (current) – Revised section header levels to reflect in the ToC. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Event Between ====== | ====== Event Between ====== | ||
- | ==== Overview ==== | + | ===== Overview |
The **Event_Between** pipeline command __creates a new event label based on the time interval between two existing events in the C3D File (i.e. between the first and last events).__ This command is useful when analyzing motion data that requires identifying specific time points between known events. | The **Event_Between** pipeline command __creates a new event label based on the time interval between two existing events in the C3D File (i.e. between the first and last events).__ This command is useful when analyzing motion data that requires identifying specific time points between known events. | ||
Line 8: | Line 8: | ||
* Specify whether the new event should be placed at the Start, End, or Midpoint of the interval. | * Specify whether the new event should be placed at the Start, End, or Midpoint of the interval. | ||
- | + | ===== Pipeline Command | |
- | + | ||
- | ==== Pipeline Command ==== | + | |
< | < | ||
Line 23: | Line 21: | ||
</ | </ | ||
- | ==== Command Parameters ==== | + | ===== Command Parameters |
The following table shows the command parameters: | The following table shows the command parameters: | ||
- | |**Event_Between**| Description| | + | |**Parameter**|**Parameter |
|**/ | |**/ | ||
|! / | |! / | ||
Line 37: | Line 35: | ||
Offsets (**FRAME_OFFSET**, | Offsets (**FRAME_OFFSET**, | ||
- | ==== Dialog ==== | + | ===== Dialog ===== |
+ | {{ : | ||
After adding the **Event_Between** command into the pipeline on the Visual3D application, | After adding the **Event_Between** command into the pipeline on the Visual3D application, | ||
- | {{: | ||
* **Event Parameters**: | * **Event Parameters**: | ||
* **Event Selection and Filtering**: | * **Event Selection and Filtering**: | ||
* **Range Instance Selection**: | * **Range Instance Selection**: | ||
- | \\ | ||
- | + | ---- | |
- | ==== Examples ==== | + | ===== Examples |
The following examples will go through the use of the **Event_Between** command in the Visual3D application. | The following examples will go through the use of the **Event_Between** command in the Visual3D application. | ||
- | === Example 1 === | + | ==== Example 1: Event Between Gait Events ==== |
This pipeline will be showcasing the use of the **Event_Between** command when we want to place an event between the LHS and LTO in our trial, determined by the starting command, [[visual3d: | This pipeline will be showcasing the use of the **Event_Between** command when we want to place an event between the LHS and LTO in our trial, determined by the starting command, [[visual3d: | ||
As a reminder, force assignments must exist in a dynamic trial in order for gait events to be detected. In the force signal graph below, we are able to see the **LHS and LTO** gait events are highlighted. | As a reminder, force assignments must exist in a dynamic trial in order for gait events to be detected. In the force signal graph below, we are able to see the **LHS and LTO** gait events are highlighted. | ||
- | \\ | + | |
{{: | {{: | ||
- | \\ | + | |
The following pipeline can be used to generate the " | The following pipeline can be used to generate the " | ||
* **RANGE_INSTANCE = 0** -> all instances of the Event_Sequence will be used. | * **RANGE_INSTANCE = 0** -> all instances of the Event_Sequence will be used. | ||
Line 80: | Line 77: | ||
After running this pipeline, we can highlight this event to show the updated graph with the new event label. | After running this pipeline, we can highlight this event to show the updated graph with the new event label. | ||
- | \\ | ||
{{: | {{: | ||
- | === Example 2 === | + | ==== Example 2: Identify a MidSwing Gait Event ==== |
+ | This next example provides a more in-depth use of the command in a larger pipeline. Here, the objective is to use **Event_Between** to identify the **MidSwing** event between Left Toe Off (LTO) and Left Heel Strike (LHS), then use additional commands to: | ||
+ | - Calculate hip and knee angles at the MidSwing event. | ||
+ | - Create a new event when knee flexion surpasses a threshold. | ||
+ | First, we will use the same step from the previous example to generate gait events for the data, and then use the command to create an event named " | ||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Between | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Next, we must output signals Left_Hip_Angle and Left_Knee_Angle can be used for further analysis. | ||
+ | |||
+ | < | ||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Following the creation of the hip and knee angle signals for the left leg during the gait cycle, the **Metric_Signal_Value_At_Event** command is used to extract the values specifically at the MidSwing event | ||
+ | |||
+ | < | ||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Following this, the [[visual3d: | ||
+ | < | ||
+ | Event_Threshold | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | /THRESHOLD= 45 | ||
+ | ! /ON_ASCENT= | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ |
visual3d/documentation/pipeline/event_commands/event_between.1739547580.txt.gz · Last modified: 2025/02/14 15:39 by wikisysop