BootstrapSearchlight: Create a searchlight iterator that samples regions from within a mask.
Searchlight centers are sampled *without* replacement, but the same voxel can belong to multiple searchlight samples.
It is in the latter sense that this is a bootstrap resampling scheme.
Description
Create a searchlight iterator that samples regions from within a mask.
Searchlight centers are sampled *without* replacement, but the same voxel can belong to multiple searchlight samples.
It is in the latter sense that this is a bootstrap resampling scheme.
Usage
BootstrapSearchlight(mask, radius, iter = 100)
Arguments
mask
an image volume containing valid central voxels for roving searchlight
radius
in mm of spherical searchlight
iter
the total number of searchlights to sample (default is 100)