visual3d:documentation:pipeline:event_commands:event_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_minimum [2024/07/17 15:42] – removed sgranger | visual3d:documentation:pipeline:event_commands:event_minimum [2025/04/29 19:00] (current) – [Example 1] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Event Minimum ====== | ||
+ | |||
+ | =====Overview===== | ||
+ | |||
+ | The ' | ||
+ | * Unlike Event Global Minimum, which finds the absolute lowest point over a trial or event phase, ' | ||
+ | * The target signal must already exist and be accessible via its type, label, and folder. | ||
+ | * To review the difference between local and global minimum values please see [[Visual3D: | ||
+ | * Other options within the command such as **Exclude Event**, and **Select Subsequence** are explained in detail on the [[Visual3D: | ||
+ | * If /THRESHOLD is empty, all local minimum are identified. If it has a value or expression, only local minimum that are less than the threshold are identified. | ||
+ | |||
+ | |||
+ | =====Pipeline Command===== | ||
+ | The command below is as seen on the Visual3D application, | ||
+ | |||
+ | < | ||
+ | Event_Minimum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /THRESHOLD= | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | =====Command Parameters===== | ||
+ | |||
+ | The following table shows the command parameters and descriptions. | ||
+ | |||
+ | |**Parameter** | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |||
+ | =====Dialog===== | ||
+ | This command can be used via text or the dialog interface. To open the dialog, double-click the command or click the **Edit** button in the pipeline editor. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * **New Event Label Name**: Name of event created at the local minimum points. | ||
+ | * **Signal Component**: | ||
+ | * **Frame Window**: Size of window to look for a local minimum around each frame. | ||
+ | * **Frame Offset**: Shift the resulting event by a number of frames. | ||
+ | * **Time Offset**: Move the event by a time shift (in seconds) | ||
+ | * **Threshold**: | ||
+ | * **Event Instance to Create**: Choose which minimum to create if there are multiple dipss in a search window | ||
+ | * **Event Sequence and Instance for Range**: Limits where to search for minima | ||
+ | * **Subsequence and Instance within Event Sequence**: Further limits search inside smaller phase within main event range. | ||
+ | |||
+ | =====Examples===== | ||
+ | The following examples will go through the use of the Event_Minimum command in the Visual3D application. | ||
+ | |||
+ | ====Example 1==== | ||
+ | |||
+ | In the first example, we will create an event named RKFlex_MinLocal using the command. | ||
+ | * This represents the local minima of the **Right Knee Angle** signal between RHS events. | ||
+ | |||
+ | **1.** Enter information into dialog box OR text editor: | ||
+ | * **Event_Name: | ||
+ | * **Select Frame Offset:** 0 | ||
+ | * **Signal Components: | ||
+ | * **Event Sequence Instance:** 0 | ||
+ | * Adjust frame window based on size of trials. (this example- 40 Frames) | ||
+ | |||
+ | |{{: | ||
+ | Event_Minimum | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /THRESHOLD= | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | **2.** Select desired signal: | ||
+ | * Select **signal from data tree** Right_Knee_Angle | ||
+ | * Click **Import Selected Signals** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | **RKFlex_Min** will be created at the minimum value during the gait cycle within the specified frame window: | ||
+ | |||
+ | |{{: | ||
+ | |||
+ | |||
+ | ====Example 2==== | ||
+ | |||
+ | In this more complex example, we will delete the previously set RKFlex_MinLocal, | ||
+ | |||
+ | Commands: | ||
+ | * Event_Delete - Remove any prior version of these minima to avoid duplication. | ||
+ | * Event_Minimum - Find minima during swing (RTO to RHS) | ||
+ | * Metric_Signal_Value_At_Event - Extract angle values at these minima for reporting. | ||
+ | |||
+ | |||
+ | < | ||
+ | Event_Delete | ||
+ | / | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/TIME= | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Event_Minimum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | < | ||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | =====Notes===== | ||
+ | |||
+ | * The `/ | ||
+ | * The `/ | ||
+ | * Use a **threshold** to avoid selecting trivial dips or noise artifacts. | ||
+ | * To isolate **one minimum per step**, set `/ | ||
+ | |||
+ | |||
+ | ==== Version 4 ==== | ||
+ | |||
+ | < | ||
+ | Event_Minimum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | Dialog that pops up when pipeline selection is edited by double clicking with the left mouse button.\\ {{: | ||
+ | |||
+ | \\ | ||
+ | **Event Instance:** There may be several local minima. A value of 0 results in all minima being assigned a label. A positive number indicates the event (in sequence) to select. A negative number indicates the event starting from the last event and progressing to the first event.\\ | ||
+ | |||
+ | |||
+ | |||
visual3d/documentation/pipeline/event_commands/event_minimum.1721230935.txt.gz · Last modified: 2024/07/17 15:42 by sgranger