visual3d:documentation:pipeline:metric_commands:metric_integrate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:metric_integrate [2024/07/12 14:04] – created sgranger | visual3d:documentation:pipeline:metric_commands:metric_integrate [2025/09/24 15:49] (current) – [Example: Calculating Joint Work Using Integration] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== Introduction | + | =====Overview===== |
- | Integrate a signal between events using the trapezoidal rule. | + | The command **Metric |
http:// | http:// | ||
Line 10: | Line 10: | ||
where T= time between frames | where T= time between frames | ||
- | ===== Command ===== | ||
- | Metric_Integrate = Sum of the integral | + | This command can be useful when it is necessary to compute a value, like displacement or work, for which integration is needed. |
- | \\ | + | |
+ | =====Pipeline Command===== | ||
- | |< | + | The command can be found in the **Pipeline Workshop** under **Metric** as so: |
- | ===== Example ===== | + | < |
+ | Metric_Integrate | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | </ | ||
+ | |||
+ | ====Command Parameters==== | ||
+ | |||
+ | The following table shows the command parameters seen above and their descriptions: | ||
+ | |||
+ | |**RESULT_METRIC_FOLDER**|**The name of the result signal folder**| | ||
+ | |**RESULT_METRIC_NAME**|**The name of the result signal**| | ||
+ | |**EVENT_SEQUENCE**|** A list of events (separated by " | ||
+ | |||
+ | ====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 | ||
+ | |||
+ | | ||
+ | |||
+ | The dialog box allows you to assign values to the command parameters outlined above. | ||
+ | |||
+ | ==== Example: Calculating Joint Work Using Integration ==== | ||
+ | |||
+ | Determining the energy contributions of different joints during locomotion can be integral (no pun intended) to understanding the gait cycle and comparing one trial to another. Some subjects may rely more heavily on ankle propulsion, while others may see more energy production from their knees and hips as a result of factors like age or imbalances. | ||
+ | |||
+ | Here we use **Automatic Gait Events** and **Metric Integrate** to compare the work done by a subject' | ||
+ | |||
+ | First, define important gait events using **Automatic Gait Events**. | ||
+ | |||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Next we will compute the work done by the left and right knees by integrating knee power with respect to time. | ||
+ | |||
+ | < | ||
+ | Metric_Integrate | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Metric_Integrate | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | 6 new metrics have now been computed, the work, mean work, and standards deviation of work done for the left and right knees. Comparing the work done in each stride and mean work done for the left and right sides will help to identify any asymmetry between sides. | ||
+ | |||
+ | ====Complex Examples==== | ||
* [[Visual3D: | * [[Visual3D: |
visual3d/documentation/pipeline/metric_commands/metric_integrate.1720793087.txt.gz · Last modified: 2024/07/12 14:04 by sgranger