Menu

Deep learning for NeuroImaging in Python.

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.

class surfify.augmentation.mixup.HemiMixUp(prob, n_vertices)[source]

Randomly permutes a subject’s measurements at specific vertices across hemispheres, assuming a vertex-to-vertex correspondence between hemispheres.

Init class.

Parameters:

prob : float

the probability of curuption.

n_vertices : int (N, )

the size of the cortical measures.

run(data, controlateral_data)[source]

Applies the hemispheric permutations.

Parameters:

data : array (N, )

input data/texture.

controlateral_data : array (N, )

input controlateral data/texture.

Returns:

data : arr (N, )

permuted input data.

Follow us

© 2025, nidl developers