expyriment.design.permute

The permute module.

This module implements permutation of blocks, trials and conditions.

Functions

expyriment.design.permute.balanced_latin_square(elements)[source]

A balanced latin square permutation of elements.

If elements is an integer the elements=[0,..., elements] is used.

Parameters:

elements : int or list

list of elements or a number

expyriment.design.permute.cycled_latin_square(elements)[source]

A cycled latin square permutation of elements.

If elements is a integer the elements=[0,..., elements] is used.

Parameters:

elements : int or list

list of elements or a number

expyriment.design.permute.is_permutation_type(type_str)[source]

Return true if the string or value is a know permutation type.

Parameters:

type_str : string

permutation type string