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 NeuroSpace,matrix
grid_to_coord(x, coords)

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

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

Arguments

x

the object

coords

a matrix of grid coordinates

Value

a matrix of real coordinates