C
counterbalance_conditions
Counterbalancing in builder view can involve making a large number of conditions files (.xlsx or .csv).
This script will automate that process by generating all permutations of your conditions and assigning a letter suffix to the file name.
You then need to add a field 'group' to your experiment settings where the input is a list of letters e.g. ['A', 'B'] and in the Conditions field of your outer loop (which specifies the order of blocks/conditions) use the format:
$'conditions'+expInfo['group']+'.csv'
-
Rebecca Hirst authored031316ac
Name |
Last commit
|
Last update |
---|---|---|
.gitignore | ||
conditions.csv | ||
conditionsA.csv | ||
conditionsB.csv | ||
makeCondFile.py | ||
makeCondFiles.py |