Skip to contents

Construct a NeuroVol instance, using default (dense) implementation

Usage

NeuroVol(data, space, label = "", indices = NULL)

Arguments

data

a three-dimensional array

space

an instance of class NeuroSpace

label

a character string to identify volume

indices

an 1D vector that gives the linear indices of the associated data vector

Value

a DenseNeuroVol instance

Examples

bspace <- NeuroSpace(c(64,64,64), spacing=c(1,1,1))
dat <- array(rnorm(64*64*64), c(64,64,64))
bvol <- NeuroVol(dat,bspace, label="test")