Skip to contents

Generic function to convert N-dimensional grid coordinate coordinates to real world coordinates

Usage

grid_to_coord(x, coords)

# S4 method for class 'NeuroSpace,matrix'
grid_to_coord(x, coords)

# S4 method for class 'NeuroSpace,numeric'
grid_to_coord(x, coords)

# S4 method for class 'NeuroVol,matrix'
grid_to_coord(x, coords)

Arguments

x

the object

coords

a matrix of grid coordinates

Value

a matrix of real coordinates