grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedMaths
Truncate
00000000-f4b2-4552-b600-1109c0ccafad
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Remove the extreme values from a collection.

Input parameters:

  1. Vl → Collection of values to truncate
  2. Mt → Outlier detection method.
    • 0 → Percentile
    • 1 → Tukey
    • 2 → Z-Score Mean
    • 3 → Z-Score Median
    • 4 → Grubbs
  3. Th → Optional threshold parameter for detection algorithm. If unset, the canonical value for each method is used.

Output parameters:

  1. Rn → Remaining values.
  2. Ix → Outlier indices which were removed.