# FitTrimming enum

Namespace: [Grasshopper2.Types.Functions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.functions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum FitTrimming
```

Enumerates the mechanisms for discarding poorly fitted samples between fitting rounds.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Keep all valid samples. |
| Percentage | 1 | Discard a percentage of the worst fitted samples. |
| Deviation | 2 | Discard all samples which deviate more than the threshold. |
| Sigma | 3 | Discard all samples which deviate more than a multiple of the standard deviation. |
| Target | 4 | Discard the worst fitted samples until the fitting error drops below the threshold. |
