Skip to content

Function: createNeuroVol()

ts
function createNeuroVol(
   type, 
   space, 
   data?): NeuroVol;

Defined in: src/volume/NeuroIm.ts:56

Factory function to create specific NeuroVol instances based on TypedArray type.

Parameters

type

NumericType

The type of TypedArray to use.

space

NeuroSpace

The geometric space of the volume data.

data?

TypedArray

The raw 3D volume data.

Returns

NeuroVol

An instance of NeuroVol.

Released under the MIT License.