visual3d:documentation:pipeline:event_commands:event_define_event_sequence
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_define_event_sequence [2025/02/18 20:16] – [Command Parameters] wikisysop | visual3d:documentation:pipeline:event_commands:event_define_event_sequence [2025/03/03 19:26] (current) – [Pipeline Command] wikisysop | ||
---|---|---|---|
Line 8: | Line 8: | ||
==== Pipeline Command ==== | ==== Pipeline Command ==== | ||
- | The following shows the command to achieve the action of defining a start and stop event for which frames should be processed. | ||
< | < | ||
Line 37: | Line 36: | ||
|**/ | |**/ | ||
+ | ==== Dialog ==== | ||
+ | After adding the **Event_Define_Event_Sequence** command into the pipeline on the Visual3D application, | ||
+ | {{: | ||
+ | * **Defined Events** and **Event Sequence**, lists of available events in the dataset, and list of selected events that define the sequence, respectively. | ||
+ | * **Event Sequence Instance**: Defines which instance of the event sequence should be used. | ||
+ | * **Range Start and End Offsets**: Allows adjustments to where the sequence starts and ends. | ||
+ | * **Define Sequence Inside of Outer Sequence**: Allows for nested event sequences, meaning the defined sequence occurs within a broader sequence. | ||
+ | ==== Examples ==== | ||
+ | The following examples will go through the use of the **Event_Define_Event_Sequence** command in the Visual3D application. | ||
- | In this case, the event sequence | + | === Example 1 === |
+ | A common example of an event sequence is the gait cycle, representing | ||
- | For example, | + | The **Event_Define_Event_Sequence** command can be used to name this event sequence "Full Gait Cycle" and include |
- | ==== Dialog ==== | + | < |
- | {{: | + | Automatic_Gait_Events |
+ | ! / | ||
+ | ! /USE_TPR=TRUE | ||
+ | ! / | ||
+ | ; | ||
- | ==== Examples | + | Event_Define_Event_Sequence |
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /OFFSET_BY=PERCENT | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Once this pipeline is executed, you should notice a new folder labelled **SEQUENCE** within the Event_Label folder in the data tree as seen below: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | === Example 2 === | ||
+ | |||
+ | As an extension to the previous example, we can add the **Event_Define_Event_Sequence** command twice again to the pipeline in order to define the Swing and Stance phases, both embedded inside of the Full Gait Cycle event sequence. | ||
+ | |||
+ | < | ||
+ | Event_Define_Event_Sequence | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Event_Define_Event_Sequence | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Notes ==== | ||
+ | |||
+ | === Equivalent Pipeline Commands === | ||
+ | The following will show a different method to create an event sequence. | ||
+ | |||
+ | In this case, the event sequence will start one frame before the sequence RON+ROFF. The resulting signal can be used wherever an Event_Sequence is used. | ||
+ | |||
+ | For example, the use case in the Metric_Mean command. Instead of the following syntax: | ||
< | < | ||
Line 72: | Line 136: | ||
- | ==== Visual3D Versions supporting Subject Prefixes | + | === Visual3D Versions supporting Subject Prefixes === |
**NOTE**: When using events in a command, the commands will iterate across subjects contained in the current workspace. As such, events being created should list the generic event label name, and as the event command iterates through subjects, it will create the subject specific events that are prefixed with the specific subject prefix. | **NOTE**: When using events in a command, the commands will iterate across subjects contained in the current workspace. As such, events being created should list the generic event label name, and as the event command iterates through subjects, it will create the subject specific events that are prefixed with the specific subject prefix. |
visual3d/documentation/pipeline/event_commands/event_define_event_sequence.1739909790.txt.gz · Last modified: 2025/02/18 20:16 by wikisysop