visual3d:documentation:pipeline:metric_commands:metric_mean
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_mean [2024/07/17 15:23] – sgranger | visual3d:documentation:pipeline:metric_commands:metric_mean [2025/09/18 19:09] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Metric Mean ====== | ====== Metric Mean ====== | ||
- | This command computes the Mean Value of a Signal and stores the value as a metric. | + | ====Overview==== |
- | ==== Command Syntax ==== | + | The **Metric Mean** command computes the Mean Value of a Signal and stores the value as a metric. It can be found within the **Pipeline Workshop** under **Metric**. |
- | The Command | + | =====Pipeline Command===== |
+ | The syntax for the function is as follows: | ||
+ | |||
+ | < | ||
+ | Metric_Mean | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | =====Command | ||
+ | The Parameters for the function are as follows: | ||
|**Metric_Mean** | |**Metric_Mean** | ||
|/ | |/ | ||
|!/ | |!/ | ||
- | |!/ | + | |!/ |
|/ | |/ | ||
|/ | |/ | ||
Line 24: | Line 45: | ||
|! / | |! / | ||
- | **;** | + | ====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: Include and Exclude Ranges ==== | ==== Example: Include and Exclude Ranges ==== | ||
Line 59: | Line 86: | ||
* **RKNEE_ANGLE_MEAN_STDDEV** - the standard deviation of the mean values for all ranges. | * **RKNEE_ANGLE_MEAN_STDDEV** - the standard deviation of the mean values for all ranges. | ||
- | An example of results is shown below: {{: | + | An example of results is shown below: |
+ | |||
+ | {{: | ||
- | If, for example, we did not want to include the file 'C:\Demo Files\CaseMVC\mvc002.c3d' in this list. To accomplish this we can add an **Event_Label** called **BAD** to the file between **RHS** and **RHS**. | + | If, for example, we did not want to include the first gait cycle in the file file 'OG_RA_run01.c3d' in this list we can add an **Event_Label** called **BAD** to the file between **RHS** and **RHS**. |
{{: | {{: | ||
- | In the image above, the two yellow | + | In the image above, the two blue lines indicate the **RHS** event. Add an Event Label named **BAD** manually by double clicking on the signal line. |
The metric_mean command can be modified as follows: | The metric_mean command can be modified as follows: | ||
Line 79: | Line 108: | ||
Each trial will have a mean and then a mean of those means. If you select ALL_FILES as the active file and view the metric, you will see the means of the individual trial ranges and the mean of the means within that trial. The GLOBAL will show the overall mean (mean of all the means). | Each trial will have a mean and then a mean of those means. If you select ALL_FILES as the active file and view the metric, you will see the means of the individual trial ranges and the mean of the means within that trial. The GLOBAL will show the overall mean (mean of all the means). | ||
- | ==== Example: Metric Mean of Metric signals at Initial Contact ==== | + | ===== Example: Metric Mean of Metric signals at Initial Contact |
This script will take the mean of Left at Right Knee angles at Initial contact (LON and RON) | This script will take the mean of Left at Right Knee angles at Initial contact (LON and RON) |
visual3d/documentation/pipeline/metric_commands/metric_mean.1721229793.txt.gz · Last modified: 2024/07/17 15:23 by sgranger