Function: randomSearchlight()
ts
function randomSearchlight(mask, radius): ROIVolWindow[];Defined in: src/searchlight/searchlight.ts:226
Create a spherical random searchlight iterator.
This function generates a spherical random searchlight iterator for analyzing local neighborhoods of voxels within a given radius in a brain mask. The algorithm randomly selects centers and removes all voxels within the searchlight from future consideration.
Parameters
mask
A NeuroVol object representing the brain mask
radius
number
The radius of the searchlight sphere (in mm)
Returns
Array of ROIVolWindow objects