visual3d:documentation:pipeline:event_commands:event_global_minimum
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_minimum [2024/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:event_commands:event_global_minimum [2025/04/28 17:50] (current) – [Dialog] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Event Global Minimum ====== | ====== Event Global Minimum ====== | ||
- | \\ | + | ===== Overview ===== |
- | **Specify an Event Label(s) at the Global Minimum | + | This command identifies the lowest point (minimum value) of a signal within a specified time range and creates a corresponding event at that frame. It is typically used when a user wants to detect a **single lowest value** |
+ | | ||
+ | * Use offsets to shift the created event slightly forward or backward in time/ | ||
+ | * Limit search to specific instances of repeated event sequence. | ||
+ | * Define nested ranges using subsequences. | ||
- | **The result will be one minimum value over the range.** | + | If the local minima are needed, see the [[Visual3D: |
- | **If the local minima are needed, see the [[Visual3D: | ||
- | **\\ | ||
To review the difference between local and global minimum values please see [[Visual3D: | To review the difference between local and global minimum values please see [[Visual3D: | ||
- | ===== Version 6 ===== | + | ===== Pipeline Command |
+ | The command below is as seen in the Visual3D application, | ||
- | The **Event_Global_Minimum** command may be used to place an event at the Global minimum value of a signal. If Threshold has a value or expression only global minimum less than threshold will be identified. | + | < |
+ | Event_Global_Minimum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | {{: | + | =====Command Parameters===== |
- | \\ | + | The following table shows the command parameters and descriptions: |
+ | |**Parameter** | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
- | ===== Version 5 ===== | + | ====Dialog==== |
+ | 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: | ||
- | Place an event at the global minimum of a signal. | + | {{: |
- | |< | + | * **New Event Label Name**: Name for event that will be created at the minimum point. |
+ | * **Signal Component**: | ||
+ | * **Frame Offset**: Move the resulting event by a number of frames. | ||
+ | * **Time Offset**: Shift the event by time (in seconds). | ||
+ | * **Threshold**: | ||
+ | * **Event Sequence and Instance for Range**: Search for the minimum between specific events. | ||
+ | * **Subsequence and Instance within Event Sequence**: Search window within the main sequence. | ||
- | ---- | ||
- | ===== Examples ===== | ||
- | This command may be used to create an event, **RKFlex_Min**, | ||
- | 1) The minimum value of the signal may be over the entire signal\\ | ||
- | 2) The minimum value of the signal may be during an event sequence\\ | ||
- | 3) A specific event sequence may be excluded\\ | ||
+ | =====Examples===== | ||
+ | The following example will go through the use of the **Event_Global_Minimum** command in the Visual3D application. | ||
- | \\ | + | This command may be used to create |
- | Create | + | |
- | **NOTE:** If no events are specified in the Event Sequence, a global minimum over the whole trial will be created.\\ | + | |
- | \\ | + | |
- | One event will be created during each gait cycle.\\ | + | |
- | Event_Minimum command may be used to create multiple | + | |
+ | RKFlex_Min is at the minimum knee flexion angle during the gait cycle. The gait cycle is indicated by the RHS events.\\ | ||
+ | |||
+ | **Example 1)** The minimum value of the signal may be over the entire signal\\ | ||
+ | **Example 2)** The minimum value of the signal may be during an event sequence\\ | ||
+ | **Example 3)** A specific event sequence may be excluded\\ | ||
+ | |||
+ | |||
+ | **NOTE: | ||
+ | * If no events are specified in the Event Sequence, a global minimum over the whole trial will be created. | ||
+ | * One event will be created during each gait cycle. | ||
+ | * Event_Minimum command may be used to create multiple minimum events during an event sequence. | ||
+ | |||
+ | ==== Example 1: Simple Use Case ==== | ||
+ | This example will be done showing both the dialog box and corresponding command text. | ||
+ | |||
+ | Other options within the command such as **Exclude Event**, and **Select Subsequence** are explained in detail on the [[Visual3D: | ||
- | === Example - Dialog Box === | ||
To create the RKFlex_Min event using the Event_Global_Minimum dialog box: | To create the RKFlex_Min event using the Event_Global_Minimum dialog box: | ||
- | \\ | ||
+ | **1. Enter information into dialog box:** | ||
+ | * **Event_Name: | ||
+ | * **Select Frame Offset:** 0 | ||
+ | * **Signal Components: | ||
+ | * **Event Sequence Instance:** 0 | ||
+ | * **Defined Events:** RHS + RHS | ||
+ | * Click **OK** | ||
+ | | ||
+ | | ||
+ | |{{: | ||
+ | Event_Global_Minimum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /THRESHOLD= | ||
+ | ; | ||
+ | </ | ||
- | |**1. Enter information into dialog box:**\\ \\ **Event_Name: | ||
- | \\ | + | **2. Select desired signal:** |
+ | * Select **signal from data tree** Right_Knee_Angle | ||
+ | * Click **Import Selected Signals** | ||
- | |**2. Select desired signal:**\\ \\ Select **signal from data tree** Right_Knee_Angle\\ \\ Click **Import Selected Signals** | + | {{: |
- | \\ | ||
**RKFlex_Min** will be created at the global minimum value during the gait cycle.\\ | **RKFlex_Min** will be created at the global minimum value during the gait cycle.\\ | ||
- | \\ | ||
- | Other options within the command such as **Exclude Event**, and **Select Subsequence** are explained in detail on the [[Visual3D: | ||
- | \\ | + | ==== Example 2: Finding Value at Event ==== |
+ | |||
+ | This command can be used to find the **lowest vertical GRF during swing phase** of the left leg (right single support) and convert that to a metric. | ||
+ | |||
+ | < | ||
+ | Event_Global_Minimum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Then find the metric value at this event for the GRF: | ||
+ | < | ||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
---- | ---- | ||
- | ===== Version 4 ===== | + | ====Notes==== |
- | Specify an Event Label(s) at the Global Minimum of a signal. | + | === Version 5 === |
- | |\\ \\ \\ < | + | |{{: |
+ | Event_Global_Minimum | ||
+ | /RESULT_EVENT_NAME= | ||
+ | ! /SIGNAL_TYPES= | ||
+ | ! /SIGNAL_NAMES= | ||
+ | ! /SIGNAL_FOLDER=ORIGINAL | ||
+ | ! /SIGNAL_COMPONENTS= | ||
+ | ! /FRAME_OFFSET=0 | ||
+ | ! /TIME_OFFSET= | ||
+ | ! /EVENT_SEQUENCE= | ||
+ | ! /EXCLUDE_EVENTS= | ||
+ | ! /EVENT_SEQUENCE_INSTANCE=0 | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | === Version 4 === | ||
+ | |{{: | ||
+ | Event_Global_Minimum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /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 minimum | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
visual3d/documentation/pipeline/event_commands/event_global_minimum.1721231139.txt.gz · Last modified: 2024/07/17 15:45 by sgranger