User Tools

Site Tools


visual3d:documentation:pipeline:event_commands:event_global_maximum

This is an old revision of the document!


event_maximum]] command\\ **\\ to review the difference between local and global maximum values please see [[visual3d:documentation:pipeline:general_information:global_vs_loca_max_and_min|here]]. ====== 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. \\ event_global_maximum_v6.png ====== version 5 ====== the **event_global_maximum** command may be used to place an event label at the global maximum value of a signal. |<code>\\ event_global_maximum\\ /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 \\ ! /event_subsequence= \\ ! /subsequence_exclude_events= \\ ! /event_subsequence_instance= 0 \\ ! /event_instance= 0 \\ ! /select_x= \\ ! /select_y= \\ ! /select_z= \\ ! /select_residual= \\ ! /start_at_event= \\ ! /end_at_event= \\ ;\\ </code> | event_global_maximum.jpg| ---- ===== examples ===== this command may be used to create an event, **rkflex_max**, at the global maximum value of a signal.\\ 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:** rkflex_max\\ \\ **select frame offset:**0\\ \\ **signal components:**x\\ \\ **select an event sequence and instance for the range:**\\ \\ **event sequence instance:**0\\ \\ **defined events:**rhs + rhs\\ \\ click **ok** | event_global_max_rkflex_max.jpg| \\ |**2. select desired signal:**\\ \\ select **signal from data tree** right_knee_angle\\ \\ click **import selected signals** | event_global_max_rkflex_max_import.jpg| two instances of **rkflex_max** were created, one in between each sequence of **rhs+rhs**.\\ | event_global_max_rkflex_max_graph.jpg | \\ ---- ==== 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**\\ | event_global_max_rkflex_max_exclude.jpg| only one rkflex_max event was created because the second sequence containing the event **bad** was excluded: | event_global_max_rkflex_max_exclude_graph.jpg | \\ ---- ==== 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**\\ | event_global_max_rkflex_max_subsequence.jpg| **rkflex_max** event was created between **rhs** events that contained the **lto to lhs** subsequence. | event_global_max_rkflex_max_subsequence_graph.jpg | \\ ---- ====== version 4 ====== |<code>\\ event_global_maximum\\ /signal_types= the type of signal to be evaluated\\ /signal_names= the names of the signals to be evaluated\\ /signal_folder= the name of the signal folder\\ /event_name= the name to be given to the threshold event\\ /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\\ /start_at_event= the search begins from the start event\\ /end_at_event= the search ends at the end event\\ </code> | dialog that pops up when pipeline selection is edited by double clicking with the left mouse button.\\ eventglobalminmaxdlg.gif\\ | }}}}}}}}}}}}}}}}}}

visual3d/documentation/pipeline/event_commands/event_global_maximum.1718801376.txt.gz · Last modified: 2024/06/19 12:49 by sgranger