Skip to content

Function: concat()

ts
function concat(volumes): Float32NeuroVec;

Defined in: src/stats/stats.ts:1023

Concatenate an array of 3D volumes into a single 4D NeuroVec.

All volumes must share the same spatial dimensions. The resulting vec has shape [dimX, dimY, dimZ, volumes.length].

Parameters

volumes

NeuroVol[]

Array of NeuroVol objects to concatenate

Returns

Float32NeuroVec

A Float32NeuroVec with the concatenated data

Released under the MIT License.