visual3d:documentation:pipeline:event_commands:event_global_maximum
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_global_maximum [2025/02/20 20:59] – wikisysop | visual3d:documentation:pipeline:event_commands:event_global_maximum [2025/04/28 17:39] (current) – [Dialog] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Event Global Maximum ====== | ====== Event Global Maximum ====== | ||
- | ==== Overview ==== | + | ===== Overview |
This command identifies the global maximum of a specified signal within a given time range and creates an event at that peak value. This command is useful for detecting peak joint angles, force plate data peaks, or maximum velocity in motion capture trials. | This command identifies the global maximum of a specified signal within a given time range and creates an event at that peak value. This command is useful for detecting peak joint angles, force plate data peaks, or maximum velocity in motion capture trials. | ||
+ | * The result will be one maximum value over the range. | ||
+ | * If the local maxima are needed, see the [[Visual3D: | ||
+ | * To review the difference between local and global maximum values please see [[Visual3D: | ||
- | ==== Pipeline Command ==== | + | |
+ | ===== Pipeline Command | ||
The following command shows the most recent update, **Version 6**. | The following command shows the most recent update, **Version 6**. | ||
Line 26: | Line 30: | ||
</ | </ | ||
- | ==== Command Parameters ==== | + | Older versions of the command are listed in the notes section at the end of this page. |
+ | |||
+ | ===== Command Parameters | ||
The following table shows the command parameters and descriptions: | The following table shows the command parameters and descriptions: | ||
- | |**/ | + | |**Parameter** |
- | |**! / | + | |**/ |
- | |**! / | + | |**!/ |
- | |**! / | + | |**!/ |
- | |**! / | + | |**!/ |
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
- | \\ | + | ===== Dialog ===== |
- | **Specify an Event Label(s) at the Global Maximum of a signal.** | + | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop-up form either click on the **Edit** button in the pipeline workshop or double-click on the command. The dialog box is shown below: |
- | **The result will be one maximum value over the range.** | + | {{: |
- | **If the local maxima are needed, see the [[Visual3D:Documentation:Pipeline: | + | |
- | **\\ | + | * **Signal Component**: Signal direction selection (X, Y, Z). |
- | To review the difference between local and global | + | * **Frame Offset**: Number of frames to shift the created event forward or backward from the maximum point. |
+ | * **Time Offset**: Shifts event by time (in seconds). | ||
+ | * **Threshold**: | ||
+ | * **Event Sequence | ||
+ | * **Subsequence and Instance within the Event Sequence**: Search inside a sub-range within the event sequence. | ||
- | ===== Version 6 ===== | ||
- | The **Event_Global_Maximum** command | + | ===== Examples ===== |
+ | The following example will go through the use of the **Event_Global_Maximum** command | ||
+ | This command may be used to create an event RKFlex_Max at the maximum knee flexion angle during the gait cycle. The gait cycle is indicated by the RHS events. This example will go through different use cases of this command: | ||
\\ | \\ | ||
- | {{: | ||
- | ===== Version 5 ===== | ||
- | The **Event_Global_Maximum** command | + | **Example 1)** The maximum value of the signal |
+ | \\ | ||
+ | **Example 2)** The maximum | ||
+ | \\ | ||
+ | **Example 3)** A specific event sequence may be excluded | ||
- | < | ||
- | Event_Global_Maximum | ||
- | / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ; | ||
- | </ | ||
- | |||
- | {{: | ||
- | ==== Examples ==== | ||
- | |||
- | This command may be used to create an event, **RKFlex_Max**, | ||
- | 1) The maximum value of the signal may be over the entire signal\\ | ||
- | 2) The maximum value of the signal may be during an event sequence\\ | ||
- | 3) A specific event sequence may be excluded\\ | ||
- | |||
- | |||
- | \\ | ||
- | Create an event RKFlex_Max at the maximum knee flexion angle during the gait cycle. The gait cycle is indicated by the RHS events.\\ | ||
**NOTE:** If no events are specified in the Event Sequence, a global maximum over the whole trial will be created.\\ | **NOTE:** If no events are specified in the Event Sequence, a global maximum over the whole trial will be created.\\ | ||
- | \\ | ||
- | One event will be created during each gait cycle.\\ | ||
- | Event_Maximum command may be used to create multiple maximum events during an event sequence.\\ | ||
- | === Example | + | ==== Example |
+ | This example will be done showing both the dialog box and corresponding command text. | ||
To create the RKFlex_Max event using the Event_Global_Maximum dialog box: | To create the RKFlex_Max event using the Event_Global_Maximum dialog box: | ||
- | |||
\\ | \\ | ||
- | + | **1. Enter information into dialog box:** | |
- | |**1. Enter information into dialog box:**\\ \\ **Event_Name: | + | |
\\ | \\ | ||
+ | * **Event_Name: | ||
+ | * **Select Frame Offset:** 0 | ||
+ | * **Signal Components: | ||
+ | * **Event Sequence Instance:** 0 | ||
+ | * **Defined Events:** RHS + RHS | ||
+ | * Click **OK** | ||
- | |**2. Select desired signal:**\\ \\ Select **signal from data tree** Right_Knee_Angle\\ \\ Click **Import Selected Signals** | + | |{{:Event_Global_Max_RKFlex_Max.jpg?500}}| < |
+ | Event_Global_Maximum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | Two instances of **RKFlex_Max** were created, one in between each sequence of **RHS+RHS**.\\ | + | **2. Select desired signal:** |
+ | \\ | ||
+ | | ||
+ | * Click **Import Selected Signals** | ||
+ | {{: | ||
- | | {{: | + | Two instances of **RKFlex_Max** were created, one in between each sequence of **RHS+RHS**. |
- | + | ||
- | \\ | + | |
+ | {{: | ||
---- | ---- | ||
- | === Example | + | ==== Example |
- | |Exclude Sequences containing these events can be used to exclude a specific sequence. | + | In this example an event **BAD** was created between one sequence of **RHS + RHS**. Using the same parameters as the previous example, set the **Exclude Sequences containing events** parameter to **BAD** |
+ | |||
+ | |{{: | ||
+ | Event_Global_Maximum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
Only one RKFlex_Max event was created because the second sequence containing the event **BAD** was excluded: | Only one RKFlex_Max event was created because the second sequence containing the event **BAD** was excluded: | ||
- | | | + | {{: |
- | \\ | + | ---- |
+ | ==== Example 3: Subsequence ==== | ||
+ | Subsequences can be used to create an event that occurs within a sequence within a sequence. | ||
- | ---- | + | In this example **RKFlex_Max** was created as the maximum value between **LTO + LHS** when these events fall between the **RHS** events. |
- | === Example - Subsequence === | + | Using the same parameters as the previous example, set the **Subsqeuence** parameter to **LTO + LHS** |
- | |Subsequences can be used to create an event that occurs within a sequence within a sequence. In this example **RKFlex_Max** was created as the maximum value between **LTO + LHS** when these events feel between the **RHS** events.\\ \\ Using the same parameters as the previous example, set the **Subsqeuence** parameter to **LTO + LHS**\\ | + | |{{: |
+ | Event_Global_Maximum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
**RKFlex_Max** event was created between **RHS** events that contained the **LTO to LHS** subsequence. | **RKFlex_Max** event was created between **RHS** events that contained the **LTO to LHS** subsequence. | ||
- | | | + | {{: |
- | + | ||
- | \\ | + | |
- | + | ||
---- | ---- | ||
- | + | ====Notes==== | |
- | ===== Version 4 ===== | + | === Version 4 === |
< | < |
visual3d/documentation/pipeline/event_commands/event_global_maximum.1740085193.txt.gz · Last modified: 2025/02/20 20:59 by wikisysop