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 [2024/07/16 16:57] – removed sgranger | visual3d:documentation:pipeline:event_commands:event_global_maximum [2025/02/20 20:59] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Event Global Maximum ====== | ||
+ | |||
+ | ==== 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. | ||
+ | |||
+ | ==== Pipeline Command ==== | ||
+ | The following command shows the most recent update, **Version 6**. | ||
+ | |||
+ | < | ||
+ | Event_Global_Maximum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /THRESHOLD= | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Command Parameters ==== | ||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**/ | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |||
+ | |||
+ | \\ | ||
+ | **Specify an Event Label(s) at the Global Maximum of a signal.** | ||
+ | |||
+ | **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: | ||
+ | |||
+ | ===== Version 6 ===== | ||
+ | |||
+ | The **Event_Global_Maximum** command may be used to place an event at the Global maximum value of a signal. If Threshold has a value or expression only global maximum greater than the threshold will be identified. | ||
+ | |||
+ | \\ | ||
+ | {{: | ||
+ | |||
+ | ===== Version 5 ===== | ||
+ | |||
+ | The **Event_Global_Maximum** command may be used to place an event label at the Global Maximum value of a signal. | ||
+ | |||
+ | < | ||
+ | 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.\\ | ||
+ | \\ | ||
+ | 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 - Dialog Box === | ||
+ | |||
+ | To create the RKFlex_Max event using the Event_Global_Maximum dialog box: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |**1. Enter information into dialog box:**\\ \\ **Event_Name: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |**2. Select desired signal:**\\ \\ Select **signal from data tree** Right_Knee_Angle\\ \\ Click **Import Selected Signals** | ||
+ | |||
+ | Two instances of **RKFlex_Max** were created, one in between each sequence of **RHS+RHS**.\\ | ||
+ | |||
+ | |||
+ | | {{: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | === Example - Exclude Sequence === | ||
+ | |||
+ | |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**\\ | ||
+ | |||
+ | Only one RKFlex_Max event was created because the second sequence containing the event **BAD** was excluded: | ||
+ | |||
+ | | {{: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | === Example - 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 feel between the **RHS** events.\\ \\ Using the same parameters as the previous example, set the **Subsqeuence** parameter to **LTO + LHS**\\ | ||
+ | |||
+ | **RKFlex_Max** event was created between **RHS** events that contained the **LTO to LHS** subsequence. | ||
+ | |||
+ | | {{: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Version 4 ===== | ||
+ | |||
+ | < | ||
+ | Event_Global_Maximum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /Select_X= (True or False)Use this component of the signal | ||
+ | /Select_Y= (True or False)Use this component of the signal | ||
+ | /Select_Z= (True or False)Use this component of the signal | ||
+ | /Radius= The range of frames of data that must be below the maximum | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Dialog that pops up when pipeline selection is edited by double clicking with the left mouse button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
visual3d/documentation/pipeline/event_commands/event_global_maximum.1721149079.txt.gz · Last modified: 2024/07/16 16:57 by sgranger