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.

Pair Averagex

Inputs

PortAcceptsRequiredDescription
x primitive(array) dataset(grid) required The array or grid to operate on

Outputs

datasetprimitive(array)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Axis
axis
choice none r | theta | phi | 0 | 1 | 2 | 3 | 4 | 5

Used by

No stock template or group uses this node.