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/18 18:45] – [Examples] wikisysop | visual3d:documentation:pipeline:event_commands:event_between [2025/04/29 15:22] (current) – [Example 2: Identify a MidSwing Gait Event] wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Event Between ====== | ====== Event Between ====== | ||
| - | ==== Overview ==== | + | ===== Overview |
| - | The **Event_Between** pipeline command | + | The **Event_Between** pipeline command |
| This function allows users to: | This function allows users to: | ||
| 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 35: | Line 33: | ||
| |**! / | |**! / | ||
| - | Offsets (**FRAME_OFFSET**, | + | **Note: |
| - | ==== 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: | 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. | - Calculate hip and knee angles at the MidSwing event. | ||
| Line 114: | Line 111: | ||
| < | < | ||
| Compute_Model_Based_Data | Compute_Model_Based_Data | ||
| - | / | + | / |
| - | ! / | + | / |
| / | / | ||
| - | /SEGMENT=Left_Hip | + | /SEGMENT=LTH |
| - | ! / | + | / |
| - | ! / | + | / |
| ! / | ! / | ||
| ! / | ! / | ||
| Line 134: | Line 131: | ||
| ! / | ! / | ||
| ; | ; | ||
| + | </ | ||
| + | |||
| + | < | ||
| Compute_Model_Based_Data | Compute_Model_Based_Data | ||
| - | / | + | / |
| - | ! / | + | / |
| / | / | ||
| - | /SEGMENT=Left_Knee | + | /SEGMENT=LSK |
| - | ! / | + | / |
| - | ! / | + | / |
| ! / | ! / | ||
| ! / | ! / | ||
| Line 168: | Line 168: | ||
| / | / | ||
| ! / | ! / | ||
| - | ! / | + | ! / |
| ! / | ! / | ||
| / | / | ||
| Line 198: | Line 198: | ||
| </ | </ | ||
| - | Following this, the [[visual3d: | + | Following this, the [[visual3d: |
| < | < | ||
| Event_Threshold | Event_Threshold | ||
| - | / | + | / |
| - | / | + | / |
| ! / | ! / | ||
| - | / | + | / |
| - | ! / | + | / |
| ! / | ! / | ||
| ! / | ! / | ||
| - | ! / | + | / |
| ! / | ! / | ||
| ! / | ! / | ||
| Line 215: | Line 215: | ||
| ! / | ! / | ||
| ! / | ! / | ||
| - | /THRESHOLD= 45 | + | / |
| - | ! /ON_ASCENT= | + | /ON_ASCENT=TRUE |
| ! / | ! / | ||
| ! / | ! / | ||
| Line 223: | Line 223: | ||
| ; | ; | ||
| </ | </ | ||
| + | |||
| + | As you can see in the following image, the two events made have been placed in the correct locations. | ||
| + | |||
| + | {{: | ||
visual3d/documentation/pipeline/event_commands/event_between.1739904348.txt.gz · Last modified: by wikisysop
