Metric Integrate
Language: | English • français • italiano • português • español |
---|
Introduction
Integrate a signal between events using the trapezoidal rule.
http://en.wikipedia.org/wiki/Trapezoidal_rule
The integral between two frames += ( (ValueAtFrame1+ValueAtFrame2)*DeltaT / 2 )
- where T= time between frames
Command
Metric_Integrate = Sum of the integral for all frames in the range.
Metric_Integrate /RESULT_METRIC_NAME= /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE ! /RESULT_METRIC_FOLDER=PROCESSED /SIGNAL_TYPES= ! /SIGNAL_NAMES= /SIGNAL_FOLDER= ! /SIGNAL_COMPONENTS=ALL_COMPONENTS /EVENT_SEQUENCE= /EXCLUDE_EVENTS= /GENERATE_MEAN_AND_STDDEV=FALSE ! /APPEND_TO_EXISTING_VALUES=FALSE ; |
Example
For example, compute the amount of work done by integrating Joint Power from Start to End
Metric_Integrate /RESULT_METRIC_NAME=Right_Ankle_Positive_Work ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE ! /RESULT_METRIC_FOLDER=PROCESSED /SIGNAL_TYPES=LINK_MODEL_BASED /SIGNAL_NAMES=RIGHT_ANKLE_POWER /SIGNAL_FOLDER=ORIGINAL /SIGNAL_COMPONENTS=X ! /COMPONENT_SEQUENCE= /EVENT_SEQUENCE=START+END /EXCLUDE_EVENTS= ! /GENERATE_MEAN_AND_STDDEV=TRUE ! /APPEND_TO_EXISTING_VALUES=FALSE ; |
NOTE: When using the Metric_Integrate dialog box, don't forget to Import the desired signals.