Skip to content

Function: bootstrapSearchlight()

ts
function bootstrapSearchlight(
   mask, 
   radius?, 
   iter?): ROIVolWindow[];

Defined in: src/searchlight/searchlight.ts:354

Create a bootstrap searchlight iterator.

This function generates a bootstrap searchlight iterator by randomly sampling center voxels with replacement.

Parameters

mask

| NeuroVol | LogicalNeuroVol

A NeuroVol object representing the brain mask

radius?

number = 8

The radius of the searchlight sphere in mm (default: 8)

iter?

number = 100

Number of bootstrap iterations (default: 100)

Returns

ROIVolWindow[]

Array of ROIVolWindow objects

Released under the MIT License.