Skip to contents

Generic function to position kernel in a postion in image space

Usage

embed_kernel(x, sp, center_voxel, ...)

# S4 method for Kernel,NeuroSpace,numeric
embed_kernel(x, sp, center_voxel, weight = 1)

Arguments

x

the kernel object

sp

the space to embed the kernel

center_voxel

the voxel marking the center of the kernel in the embedded space

...

extra args

weight

multiply kernel weights by this value