expyriment.design.permute¶
The permute module.
This module implements permutation of blocks, trials and conditions.
Functions¶
-
expyriment.design.permute.
balanced_latin_square
(elements)¶ A balanced latin square permutation of elements.
If elements is an integer the elements=[0,…, elements] is used.
Parameters: - elementsint or list
list of elements or a number
-
expyriment.design.permute.
cycled_latin_square
(elements)¶ A cycled latin square permutation of elements.
If elements is a integer the elements=[0,…, elements] is used.
Parameters: - elementsint or list
list of elements or a number
-
expyriment.design.permute.
is_permutation_type
(type_str)¶ Return true if the string or value is a know permutation type.
Parameters: - type_strstring
permutation type string