visual3d:documentation:pipeline:event_commands:event_onset
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_onset [2024/06/19 12:49] – sgranger | visual3d:documentation:pipeline:event_commands:event_onset [2025/04/28 19:47] (current) – [Dialog] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{create an event label using two threshold crossings and a local minimum. | + | ====== Event Onset ====== |
- | create | + | ===== Overview ===== |
+ | The **Event_Onset** command is used to detect and label an event when a specified signal crosses a defined | ||
- | * the threshold crossing is a fairly high value (or metric) that the user is confident is beyond the event of interest | + | The command creates an event label at either |
- | * the baseline crossing is a low threshold value (or metric) which is typically the point at which a velocity signal(for example) just starts moving. | + | * The threshold crossing is a fairly high value (or metric) that the user is confident is beyond the Event of interest. |
- | * the last local minimum before the threshold crossing (higher threshold). | + | * The baseline crossing is a low threshold value (or metric) which is typically the point at which a velocity signal (for example) just starts moving. |
- | * the event from the baseline crossing and local minimum that is closest to the higher threshold crossing is set as the onset event. | + | * The last local minimum before the threshold crossing (higher threshold). |
+ | * The event from the baseline crossing and local minimum that is closest to the higher threshold crossing is set as the ONSET Event. | ||
+ | * If multiple components are chosen (X Y and Z), the command will look for when any component passes the threshold and when any component reaches the baseline or a local minimum. | ||
- | \\ | + | ===== Pipeline Command ===== |
- | if multiple components are chosen (x y and z), the command | + | The command |
+ | < | ||
+ | Event_Onset | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! /BASELINE=0 | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | |event_onset.jpg | + | ===== Command Parameters |
+ | The following table shows the command parameters and descriptions: | ||
- | \\ | + | |**Parameter** |
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | ===== 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 pipeline command. The dialog is shown below. | ||
+ | {{: | ||
- | ---- | + | * **Event Name**: Name for the new event that will be created. |
+ | * **X, Y, Z Checkboxes**: | ||
+ | * **Threshold**: | ||
+ | * **Threshold Instance**: Defines how many threshold crossings to detect. | ||
+ | * **Baseline**: | ||
+ | * **Frame Offset**: Number of frames to shift event. | ||
+ | * **Frame Window**: Sets a window of frames to search for threshold crossing. | ||
+ | * **Label on Ascent/ | ||
+ | * Find Event within Range - limits for threshold crossings. | ||
+ | ===== Examples ===== | ||
+ | The following examples will go through the use of the Event_Onset command in the Visual3D application. | ||
- | ===== example | + | ==== Example |
+ | This example identifies movement onset based on the speed of the hand. It detects the onset of hand movement (labeled as " | ||
- | identifies movement onset based on the speed of the hand. | + | < |
+ | Event_Onset | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | |< | + | **Note**: Both the Threshold and Baseline parameter accept either a number or a METRIC |
- | \\ | + | ==== Example 2 ==== |
- | **note that both the threshold and baseline parameter accept either a number or a metric** | + | The following command is designed to automatically detect and label an event named " |
- | ===== example 2 ===== | + | < |
+ | Event_Onset | ||
+ | / | ||
+ | / | ||
+ | !/ | ||
+ | /EVENT_NAME= SCOTT2 | ||
+ | !/SELECT_X= TRUE | ||
+ | !/SELECT_Y= FALSE | ||
+ | !/SELECT_Z= FALSE | ||
+ | /THRESHOLD= 25 | ||
+ | !/ | ||
+ | !/BASELINE= 0 | ||
+ | !/ | ||
+ | /ASCENDING= TRUE | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
- | |\\ \\ \\ < | + | **Result:** |
- | \\ | + | Visual3D will find when the signal crosses the threshold (25N) and look backwards in time (along the light blue) and find **EITHER**: |
+ | - When the signal reaches the baseline of 0 N (this is indicated by the first instance of SCOTT2. | ||
+ | - When the signal reaches the local minima (this is indicated by the second instance of SCOTT2. | ||
+ | {{: | ||
- | |\\ **result: | ||
+ | ===== Notes ===== | ||
+ | * The /Ascending and /Descending parameters determine whether the event is placed at an upward or downward threshold crossing. | ||
+ | * The / | ||
+ | * The /Baseline is useful when detecting minima or maxima, ensuring the event is placed correctly. | ||
- | }}}}}}}} |
visual3d/documentation/pipeline/event_commands/event_onset.1718801381.txt.gz · Last modified: 2024/06/19 12:49 by sgranger