archetypes.processing.permute#

archetypes.processing.permute(data, perms=None)#

Permute a dataset along each dimension.

Parameters:
data: array-like

The dataset to permute.

perms: list of array-like

The permutations to use. If None, no permutation is applied.

Returns:
data: array-like

The permuted dataset.

perms: list of array-like

The permutations used.