User Tools

Site Tools


visual3d:documentation:pipeline:event_commands:event_maximum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:event_commands:event_maximum [2025/04/29 18:21] – [Example 2: Complex] wikisysopvisual3d:documentation:pipeline:event_commands:event_maximum [2025/08/21 17:59] (current) wikisysop
Line 42: Line 42:
 |**!/FRAME_OFFSET=**|Optional offset in frames to shift the detected event.| |**!/FRAME_OFFSET=**|Optional offset in frames to shift the detected event.|
 |**!/TIME_OFFSET=**|Optional offset in seconds to shift the detected event.| |**!/TIME_OFFSET=**|Optional offset in seconds to shift the detected event.|
-|**!/EVENT_SEQUENCE=**|Defines the sequence of events used.| +|**[[visual3d:documentation:c3d_signal_types:event_label_data_type|!/EVENT_SEQUENCE=]]**|Defines the sequence of events used.| 
-|**!/EXCLUDE_EVENTS=**|Events to exclude within the sequence.|+|**[[visual3d:documentation:c3d_signal_types:event_label_data_type|!/EXCLUDE_EVENTS=]]**|Events to exclude within the sequence.|
 |**!/EVENT_SEQUENCE_INSTANCE=0**|Specifies which instance of the sequence to evaluate (0 to consider ALL)| |**!/EVENT_SEQUENCE_INSTANCE=0**|Specifies which instance of the sequence to evaluate (0 to consider ALL)|
 |**!/EVENT_SUBSEQUENCE=**|Defines a smaller sequence within the main even sequence.| |**!/EVENT_SUBSEQUENCE=**|Defines a smaller sequence within the main even sequence.|
 |**!/SUBSEQUENCE_EXCLUDE_EVENTS**|Events to exclude from the subsequence.| |**!/SUBSEQUENCE_EXCLUDE_EVENTS**|Events to exclude from the subsequence.|
 |**!/EVENT_SUBSEQUENCE_INSTANCE=0**|Specifies which instance of the subsequence to evaluate.| |**!/EVENT_SUBSEQUENCE_INSTANCE=0**|Specifies which instance of the subsequence to evaluate.|
-|**!/EVENT_INSTANCE=**|Specifies which instance of the event to label (0 for all, positive for first occurrences, negative for last occurrences).|+|**[[visual3d:documentation:c3d_signal_types:event_label_data_type|!/EVENT_INSTANCE=]]**|Specifies which instance of the event to label (0 for all, positive for first occurrences, negative for last occurrences).|
 |**!/FRAME_WINDOW=**|Number of frames around the maximum that must satisfy the threshold.| |**!/FRAME_WINDOW=**|Number of frames around the maximum that must satisfy the threshold.|
 |**!/THRESHOLD=**|Defines the minimum value the signal must reach to qualify as a peak.| |**!/THRESHOLD=**|Defines the minimum value the signal must reach to qualify as a peak.|
Line 81: Line 81:
 **Select Frame Offset:** 0\\ **Select Frame Offset:** 0\\
 **Signal Components:** X\\ **Signal Components:** X\\
-**Event Sequence:**RHS -> RHS (use arrows to move from defined events list into sequence.) \\ 
 **Event Sequence Instance:**0\\ **Event Sequence Instance:**0\\
  
  
-{{:Event_Max_RKFlex_MaxLocal.jpg?400}}+|{{:visual3d:documentation:pipeline:event_commands:eventmax_ex1_dialogbox.png?600|}}|<code> 
 +Event_Maximum 
 +/RESULT_EVENT_NAME=RKFlex_MaxLocal 
 +/SIGNAL_TYPES=KINETIC_KINEMATIC 
 +/SIGNAL_FOLDER=RFT 
 +/SIGNAL_NAMES=AngAcc 
 +/SIGNAL_COMPONENTS=X 
 +! /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 
 +/FRAME_WINDOW=40 
 +! /THRESHOLD= 
 +
 +</code>|
  
 2. Close the dialog, on the Signals and Events tab, select the desired signal from the data tree, in this case **Right_Knee_Angle**. Navigate into the LINK_MODEL_BASED items folder, and select the checkbox beside the signal. 2. Close the dialog, on the Signals and Events tab, select the desired signal from the data tree, in this case **Right_Knee_Angle**. Navigate into the LINK_MODEL_BASED items folder, and select the checkbox beside the signal.
Line 94: Line 112:
 **RKFlex_MaxLocal** will be created at the maximum values during the full gait cycle. As seen below: **RKFlex_MaxLocal** will be created at the maximum values during the full gait cycle. As seen below:
  
-{{:visual3d:documentation:pipeline:event_commands:eventmax_ex1_correct.png?600|}}+|{{:visual3d:documentation:pipeline:event_commands:eventmax_ex1_corrected_graph.png?600|}}|
  
  
 ==== Example 2: Complex ==== ==== Example 2: Complex ====
  
-In this example, the local maxima of the right foot vertical acceleration (Y-axis) during the full trial is identified. Then, the values of this event are extracted.+In this example, the local maxima of the right foot angular acceleration during the full trial is identified. Then, the values of this event are extracted.
  
-Use the Event_Maximum command to find the peaks in the acceleration signal, the component is set to Y and frame window is increased to 30.+Use the Event_Maximum command to find the peaks in the acceleration signal, the component is set to Y and frame window is increased to 60.
  
 The signal used to represent the acceleration was taken from the KINETIC_KINEMATIC folder - RFT (Right Foot) The signal used to represent the acceleration was taken from the KINETIC_KINEMATIC folder - RFT (Right Foot)
visual3d/documentation/pipeline/event_commands/event_maximum.1745950881.txt.gz · Last modified: 2025/04/29 18:21 by wikisysop