nispace.nulls.nulls_burt2020
- nispace.nulls.nulls_burt2020(data_1d, dist_mat, n_nulls=1000, seed=None, **kwargs)[source]
Variogram-matched surrogate maps (Burt et al. 2020, brainsmash).
Generates surrogates by permuting
data_1dand smoothing to match its empirical variogram, via thebrainsmashpackage’sBaseclass.dist_matis the parcel-by-parcel distance matrix;**kwargs(e.g.resample,batch_size) are forwarded toBase. [10].Intended to be called through
generate_null_maps(), which handles NaN masking, hemisphere splitting, and parallelization across maps — not meant to be called directly.