Nodes ▸ Functions ▸ Unary ▸ Misc
Clip
Limits the values of x to the range from clip_lo to clip_hi, in the component's own unit; either bound may be left blank.
Wraps clip.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
x | primitive(array) dataset | required | The array or dataset the function is applied to |
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
clip_lo | primitive(number) | opt-in drives clip_lo | Drives the Clip Lo parameter while connected |
clip_hi | primitive(number) | opt-in drives clip_hi | Drives the Clip Hi parameter while connected |
Outputs
datasetprimitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Targettarget | multichoice | none | values | values_r | values_theta | values_phi | scale_r | scale_theta | scale_phi | points | points_r | points_t | points_p | ||
Clip Loclip_lo | float | none | ⇄ port | ||
Clip Hiclip_hi | float | none | ⇄ port |
Used by
No stock template or group uses this node.