scipp.broadcast#

scipp.broadcast(x, dims, shape)#

Broadcast a variable.

Note that scipp operations broadcast automatically, so using this function directly is rarely required.

Parameters
Returns

Variable – New variable with requested dimension labels and shape.