Skip to contents

Generic function to position kernel in a position in image space

Usage

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

# S4 method for class '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

Value

An object representing the embedded kernel in the specified space.