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 19:31] – wikisysop | visual3d:documentation:pipeline:event_commands:event_define_event_sequence [2025/03/03 19:26] (current) – [Pipeline Command] wikisysop | ||
---|---|---|---|
Line 2: | Line 2: | ||
==== Overview ==== | ==== Overview ==== | ||
- | Defining | + | This command in Visual3D' |
- | This option provides the flexibility to set offsets on the Event_Sequence and to embed an Event Sequence inside another event. The following image shows the Define Event Sequence dialog box in the application, | ||
==== 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. | ||
< | < | ||
Event_Define_Event_Sequence | Event_Define_Event_Sequence | ||
- | / | + | / |
- | / | + | ! / |
! / | ! / | ||
! / | ! / | ||
- | / | + | ! / |
! / | ! / | ||
- | /OFFSET_BY=FRAMES | + | ! /OFFSET_BY=PERCENT |
- | / | + | ! / |
; | ; | ||
+ | |||
</ | </ | ||
==== Command Parameters ==== | ==== Command Parameters ==== | ||
+ | The following table shows the command parameters and descriptions: | ||
- | In this case, the event sequence | + | |**Parameter**|**Description**| |
- | + | |**/ | |
- | For example, | + | |**/ |
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
==== Dialog ==== | ==== Dialog ==== | ||
- | {{:DefineEventSequence.jpg}} | + | 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 ==== | ==== Examples ==== | ||
+ | The following examples will go through the use of the **Event_Define_Event_Sequence** command in the Visual3D application. | ||
+ | |||
+ | === Example 1 === | ||
+ | A common example of an event sequence is the gait cycle, representing the repetitive sequence of events that occur from one heel strike of a foot to the next heel strike of the same foot. | ||
+ | |||
+ | The **Event_Define_Event_Sequence** command can be used to name this event sequence "Full Gait Cycle" and include the events detected using the [[visual3d: | ||
+ | |||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Define_Event_Sequence | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | 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 57: | 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.1739907106.txt.gz · Last modified: 2025/02/18 19:31 by wikisysop