Nodes ▸ Functions ▸ Unary ▸ Misc
Heaviside
Returns the Heaviside step function of x: 0 for negative values, 1 for positive values and h0 where x is zero.
Wraps heaviside.
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 |
|---|---|---|---|
h0 | primitive(number) | opt-in drives h0 | Drives the H0 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 | ||
H0h0 | float | 0.5 | ⇄ port |
Used by
No stock template or group uses this node.