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:04] – [Example 2: Complex] wikisysopvisual3d:documentation:pipeline:event_commands:event_maximum [2025/04/29 19:04] (current) wikisysop
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 maximum of the right ankle vertical acceleration (Y-axis) during **terminal stance** is identified. Then, the value of this event is 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.
  
-First, we can use the Second_Derivative command to find the acceleration of the R Ankle signal.+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.
  
-<code> +The signal used to represent the acceleration was taken from the KINETIC_KINEMATIC folder - RFT (Right Foot)
-Second_Derivative +
-/SIGNAL_TYPES=TARGET +
-/SIGNAL_FOLDER=PROCESSED +
-/SIGNAL_NAMES=R.Ankle +
-! /RESULT_TYPES= +
-/RESULT_FOLDERS=ACCELERATION +
-/RESULT_NAME=_Accel +
-/APPLY_AS_SUFFIX_TO_SIGNAL_NAME=TRUE +
-+
-</code> +
- +
-Second, the Event_Maximum command can be used to find the peaks in the acceleration signal, the component is set to Y and frame window is increased to 30.+
  
 <code> <code>
 Event_Maximum Event_Maximum
 /RESULT_EVENT_NAME=Right_Accel_Peak_Stance /RESULT_EVENT_NAME=Right_Accel_Peak_Stance
-/SIGNAL_TYPES=TARGET +/SIGNAL_TYPES=KINETIC_KINEMATIC 
-/SIGNAL_FOLDER=ACCELERATION +/SIGNAL_FOLDER=RFT 
-/SIGNAL_NAMES=R.Ankle_Accel+/SIGNAL_NAMES=AngAcc
 /SIGNAL_COMPONENTS=Y /SIGNAL_COMPONENTS=Y
 ! /FRAME_OFFSET=0 ! /FRAME_OFFSET=0
 ! /TIME_OFFSET= ! /TIME_OFFSET=
-/EVENT_SEQUENCE=+/EVENT_SEQUENCE=
 ! /EXCLUDE_EVENTS= ! /EXCLUDE_EVENTS=
 ! /EVENT_SEQUENCE_INSTANCE=0 ! /EVENT_SEQUENCE_INSTANCE=0
Line 133: Line 139:
 ! /EVENT_SUBSEQUENCE_INSTANCE=0 ! /EVENT_SUBSEQUENCE_INSTANCE=0
 ! /EVENT_INSTANCE=0 ! /EVENT_INSTANCE=0
-/FRAME_WINDOW=30+/FRAME_WINDOW=60
 ! /THRESHOLD= ! /THRESHOLD=
 ; ;
 </code> </code>
  
-Finally, use Metric_Signal_Value_At_Event to extract the actual Y-acceleration values at these peaks for analysis:+Then use Metric_Signal_Value_At_Event to extract the actual Y-acceleration values at these peaks for analysis:
  
 <code> <code>
 Metric_Signal_Value_At_Event Metric_Signal_Value_At_Event
-/SIGNAL_TYPES=TARGET +/SIGNAL_TYPES=KINETIC_KINEMATIC 
-/SIGNAL_FOLDER=ACCELERATION +/SIGNAL_FOLDER=RFT 
-/SIGNAL_NAMES=R.Ankle_Accel+/SIGNAL_NAMES=AngAcc
 ! /RESULT_METRIC_FOLDER=PROCESSED ! /RESULT_METRIC_FOLDER=PROCESSED
 /RESULT_METRIC_NAME=Right_Accel_Peak_Stance_Times /RESULT_METRIC_NAME=Right_Accel_Peak_Stance_Times
 ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
-/SIGNAL_COMPONENTS=+/SIGNAL_COMPONENTS=Y
 ! /COMPONENT_SEQUENCE= ! /COMPONENT_SEQUENCE=
 /EVENT_NAME=Right_Accel_Peak_Stance /EVENT_NAME=Right_Accel_Peak_Stance
visual3d/documentation/pipeline/event_commands/event_maximum.1745949852.txt.gz · Last modified: 2025/04/29 18:04 by wikisysop