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 [2024/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:event_commands:event_define_event_sequence [2025/03/03 19:26] (current) – [Pipeline Command] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Event Define Event Sequence ====== | ====== Event Define Event Sequence ====== | ||
- | Defining | + | ==== Overview ==== |
+ | 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. | ||
- | {{: | ||
- | **Event_Define_Event_Sequence** | + | |
- | / | + | ==== Pipeline Command ==== |
- | / | + | |
+ | < | ||
+ | Event_Define_Event_Sequence | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Command Parameters ==== | ||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**Parameter**|**Description**| | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |||
+ | ==== Dialog ==== | ||
+ | After adding the **Event_Define_Event_Sequence** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * **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. | ||
+ | |||
+ | === 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 | ||
+ | / | ||
+ | / | ||
! / | ! / | ||
! / | ! / | ||
- | / | + | ! / |
! / | ! / | ||
- | /OFFSET_BY=FRAMES | + | ! /OFFSET_BY=PERCENT |
/ | / | ||
- | **;** | + | ; |
- | This event sequence will start one frame before the sequence RON+ROFF | + | </ |
- | The resulting signal can be used wherever an Event_Sequence | + | Once this pipeline |
- | For example, Metric_Mean | + | {{: |
- | Instead of the following syntax: | + | === Example 2 === |
- | **Metric_Mean** | + | 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: | ||
+ | |||
+ | < | ||
+ | Metric_Mean | ||
/ | / | ||
/ | / | ||
Line 37: | Line 126: | ||
! / | ! / | ||
! / | ! / | ||
- | **;** | + | ; |
- | you could use | + | </ |
- | **Metric_Mean** | + | You could use the following line in replacement to achieve the same. |
- | / | + | |
- | / | + | < |
- | ! / | + | |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
/ | / | ||
- | /[[Visual3D: | + | </code> |
- | ! / | + | |
- | ! / | + | |
- | **;** | + | === 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. |
In commands using event labels and event sequences to process data, the event labels and sequences listed to process between should be generic (without a subject prefix), and as each subject is processed, the event range/ | In commands using event labels and event sequences to process data, the event labels and sequences listed to process between should be generic (without a subject prefix), and as each subject is processed, the event range/ |
visual3d/documentation/pipeline/event_commands/event_define_event_sequence.1721231138.txt.gz · Last modified: 2024/07/17 15:45 by sgranger