User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_time_of_threshold_from_event

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:metric_commands:metric_time_of_threshold_from_event [2024/06/19 12:51] sgrangervisual3d:documentation:pipeline:metric_commands:metric_time_of_threshold_from_event [2025/09/22 18:05] (current) – [Examples] wikisysop
Line 1: Line 1:
-{{event_labels are defined by the c3d format. event_labels exist only at motion capture frames (e.g. at point rate). for model based kinematic and kinetic calculations this is finebecause these signals only exist at motion capture frames.+====== Metric Time of Threshold from Event ====== 
 +====Overview==== 
 +The **Metric Time of Threshold from Event** command can be used to record the time it takes for a signal to reach a thresholdlike a joint angle reaching 90 degrees, in relation to a defined event. The command can be found in the **Pipeline Workshop** under **Metric**.
  
-for measures of timing that involve signals that are at analog rate (e.g. force platform data) the motion capture rate isn't sufficient.+====Pipeline Command====
  
-in version 5 a series of metric commands were introduced to identify the time of a threshold crossing or maximum at the analog rate.+The command syntax is as follows:
  
-metrictimeofthresholdfromevent.png+<code> 
 +Metric_Time_Of_Threshold_From_Event 
 +! /RESULT_METRIC_TIME= 
 +! /RESULT_METRIC_VALUE= 
 +! /RESULT_FOLDER=PROCESSED 
 +! /THRESHOLD= 
 +! /RESULT_COMPONENTS=ALL 
 +! /SIGNAL_TYPES= 
 +! /SIGNAL_FOLDER=ORIGINAL 
 +! /SIGNAL_NAMES= 
 +! /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 
 +! /ON_ASCENT=TRUE 
 +! /ON_DESCENT= 
 +! /FRAME_WINDOW=8 
 +! /ENSURE_FRAMES_BEFORE= 
 +! /ENSURE_FRAMES_AFTER= 
 +
 +</code> 
 + 
 +====Command Parameters==== 
 + 
 +The following table shows the command parameters seen above and their descriptions: 
 +|**/RESULT_METRIC_TIME=**                                                                               |Time of minimum from event.                                                                      | 
 +|**/RESULT_METRIC_VALUE=**                                                                              |Value of minimum after event.                                                                    | 
 +|**/RESULT_FOLDER=**                                                                                    |Name of folder designated for results.                                                           | 
 +|**THRESHOLD**                                                                                          |Threshold value to be reached.                                                                   | 
 +|**/RESULT_COMPONENTS=**                                                                                |Components to be included in results.                                                            | 
 +|**/SIGNAL_TYPES=**                                                                                     |The type of signal to be processed                                                               | 
 +|**/SIGNAL_NAMES=**                                                                                     |The name of the signal to be processed                                                           | 
 +|**/SIGNAL_FOLDER**                                                                                     |The folder of the signal to be processed                                                         | 
 +|**/SIGNAL_COMPONENTS=**                                                                                |The component of the signal to be processed                                                      | 
 +|**/FRAME_OFFSET=**                                                                                     |The offset (in frames) to apply to the event.                                                    | 
 +|**/TIME_OFFSET=**                                                                                      |The time offset (in seconds) to apply to the event.                                              | 
 +|**/EVENT_SEQUENCE=**                                                                                   |A list of events (separated by “+” signs).                                                       | 
 +|**/EXCLUDE_EVENTS=**                                                                                   |This Event_Sequence must not be during the sequence requested.                                   | 
 +|**/EVENT_SEQUENCE_INSTANCE=**                                                                          |Index of the sequence instance to evaluate (0 = all, 1 = first, etc.).                           | 
 +|**/EVENT_SUBSEQUENCE=**                                                                                |Optional inner event window within a broader sequence.                                           | 
 +|**/SUBSEQUENCE_EXCLUDE_EVENTS=**                                                                       |This Event subsequence must not be during the sequence requested.                                | 
 +|**/EVENT_SUBSEQUENCE_INSTANCE=**                                                                       |Index of the subsequence instance to evaluate (0 = all, 1 = first, etc.).                        | 
 +|**/EVENT_INSTANCE=**                                                                                   |Defines how many event occurrences to consider.                                                  | 
 +|**ON_ASCENT**                                                                                          |Determine if the event is detected when the signal crosses the threshold in an upward direction. | 
 +|**ON_DESCENT**                                                                                         |Determines if the event is detected when the signal crosses the threshold in a downward direction.| 
 +|**FRAME_WINDOW**                                                                                       |The range of frames that must satisfy the threshold crossing condition.                          | 
 +|**ENSURE_FRAMES_BEFORE**                                                                               |(True or False) Radius frames of data before crossing must lie on the same side of the threshold.| 
 +|**ENSURE_FRAMES_AFTER**                                                                                |(True or False) Radius frames of data after crossing must lie on the same side of the threshold. | 
 + 
 + 
 +====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. 
 + 
 +{{:MetricTimeofThresholdfromEvent.png}} 
 + 
 + 
 +The dialog box allows you to assign values to the command parameters outlined above. 
 + 
 +====Notes==== 
 + 
 +Event_Labels are defined by the c3d format. Event_Labels exist only at Motion Capture frames (e.g. at Point Rate). For model based kinematic and kinetic calculations this is fine, because these signals only exist at Motion Capture frames. 
 + 
 +For measures of timing that involve signals that are at ANALOG rate (e.g. Force Platform data) the motion capture rate isn't sufficient. 
 + 
 +In Version 5 a series of metric commands were introduced to identify the time of a threshold crossing or maximum at the analog rate. 
 + 
 +====Examples====
  
-**metric_time_of_threshold_from_event** 
-/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= 
-! /threshold= 
-! /on_ascent=true 
-! /on_descent= 
-! /frame_window=8 
-! /ensure_frames_before= 
-! /ensure_frames_after= 
-**;** 
  
-}} 
visual3d/documentation/pipeline/metric_commands/metric_time_of_threshold_from_event.1718801491.txt.gz · Last modified: 2024/06/19 12:51 by sgranger