Function: createNeuroSlice()
ts
function createNeuroSlice(
type,
space,
data): NeuroSlice;Defined in: src/volume/NeuroIm.ts:26
Factory function to create specific NeuroSlice instances based on TypedArray type.
Parameters
type
The type of TypedArray to use.
space
The geometric space of the slice data.
data
The raw 2D slice data.
Returns
An instance of NeuroSlice.