Nodes ▸ Functions ▸ Calculus
Pair Average
Averages each pair of adjacent elements along an axis, shrinking that axis (and a grid's scale) by one. It helps when two grids are staggered by half a cell.
Wraps pair_average.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
x | primitive(array) dataset(grid) | required | The array or grid to operate on |
Outputs
datasetprimitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Axisaxis | choice | none | r | theta | phi | 0 | 1 | 2 | 3 | 4 | 5 |
Used by
No stock template or group uses this node.