Skip to content

Function: series()

ts
function series(vec, coords): Float32Array<ArrayBufferLike>[];

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

Extract time-series from a NeuroVec at one or more voxel coordinates.

Parameters

vec

NeuroVec

The 4D data

coords

[number, number, number][]

Array of [i,j,k] grid coordinates

Returns

Float32Array<ArrayBufferLike>[]

One Float32Array per coordinate containing the time-series

Released under the MIT License.