visual3d:documentation:pipeline:metric_commands:remove_metrics_by_threshold
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
visual3d:documentation:pipeline:metric_commands:remove_metrics_by_threshold [2025/09/22 18:32] – [Pipeline Command] wikisysop | visual3d:documentation:pipeline:metric_commands:remove_metrics_by_threshold [2025/10/02 14:22] (current) – [Example] wikisysop | ||
---|---|---|---|
Line 27: | Line 27: | ||
|**/ | |**/ | ||
- | ====Example==== | + | ====Example: Removing Power Readings Above Threshold==== |
+ | Here **Metric Remove Metrics By Threshold ** is used to look at left ankle power readings at heel strikes and remove instances above a certain threshold. In the case that you are looking at the conditions that cause a certain range of values in a metric it can be useful to make sure that the resulting metric contains only those values, while another contains values outside of that range. | ||
+ | The pipeline command is as follows: | ||
+ | < | ||
+ | Remove_Metrics_By_Threshold | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ====Example: | ||
+ | In other cases, instead of eliminating values outside of a given range you may want to sort your metric into groups according to magnitude. This can be used to eliminate outliers or identify conditions between groups. | ||
+ | |||
+ | Here the left ankle power at LON and the right knee power at RON are examined and values within each are sorted into positive and negative groups. This can be done by defining two metrics for each variable, one for the positive group and one for the negative, and appkying the **Remove Metrics By Threshold** command to each group. | ||
+ | |||
+ | The full command is as so: | ||
+ | |||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Remove_Metrics_By_Threshold | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Remove_Metrics_By_Threshold | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | !/ | ||
+ | ; | ||
+ | |||
+ | Remove_Metrics_By_Threshold | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Remove_Metrics_By_Threshold | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
+ | Prior to removing metrics by threshold the KNEEPOWER_RON metric looked like so: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | After the command had been applied the result was as so: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Notice that the X values column now only includes positive values, the negative values are included in a new metric. |
visual3d/documentation/pipeline/metric_commands/remove_metrics_by_threshold.txt · Last modified: 2025/10/02 14:22 by wikisysop