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/07/16 19:27] – created sgranger | visual3d:documentation:pipeline:event_commands:event_onset [2025/02/26 18:45] (current) – [Example 2] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Create | + | ==== Overview ==== |
+ | The **Event_Onset** command is used to detect and label an event when a specified signal crosses a defined threshold. This command allows users to analyze motion signals by specifying a threshold, direction of crossing, and optional baseline conditions. The event can be applied to individual signal components | ||
- | Create | + | The command creates |
- | + | * The threshold crossing is a fairly high value (or metric) that the user is confident is beyond the Event of interest. | |
- | * The threshold crossing is a fairly high value (or metric) that the user is confident is beyond the Event of interest | + | |
* 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 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 last local minimum before the threshold crossing (higher threshold). | * 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. | * 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.jpg}} | + | < |
+ | Event_Onset | ||
+ | ! /SIGNAL_TYPES= | ||
+ | ! /SIGNAL_FOLDER=ORIGINAL | ||
+ | ! /SIGNAL_NAMES= | ||
+ | /EVENT_NAME= | ||
+ | ! /SELECT_X=TRUE | ||
+ | ! /SELECT_Y=FALSE | ||
+ | ! /SELECT_Z=FALSE | ||
+ | /THRESHOLD=0 | ||
+ | ! /THRESHOLD_INSTANCE=0 | ||
+ | ! /BASELINE=0 | ||
+ | ! /FRAME_OFFSET=0 | ||
+ | ! /FRAME_WINDOW=8 | ||
+ | ! /ASCENDING=FALSE | ||
+ | ! /DESCENDING=FALSE | ||
+ | ! /START_AT_EVENT= | ||
+ | ! /END_AT_EVENT= | ||
+ | ; | ||
+ | </ | ||
- | \\ | + | ==== 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. | ||
- | ---- | + | {{: |
- | ==== Example 1 ==== | + | ==== Examples |
+ | The following examples will go through the use of the Event_Onset command in the Visual3D application. | ||
- | Identifies | + | === Example 1 === |
+ | This example identifies | ||
- | |< | + | < |
+ | Event_Onset | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /THRESHOLD=0.2 | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | \\ | + | **Note**: Both the Threshold and Baseline parameter accept either a number or a METRIC |
- | **Note | + | |
- | ==== Example 2 ==== | + | === Example 2 === |
+ | The following command is designed to automatically detect and label an event named " | ||
- | |\\ \\ \\ < | + | < |
+ | Event_Onset | ||
+ | / | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | !/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: | + | {{:EventOnset_Scott2_Graph.jpg?}} |
+ | ==== 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.1721158075.txt.gz · Last modified: 2024/07/16 19:27 by sgranger