ContextLab / ContextLab/quail

feature request: easy way to deal with counterbalancing across conditions

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
future release low priority
Dominant language
Python
Stars
21
Forks
10
PR merge metrics
No merged PRs in 30d

Description

just finished implementing support for nested `listgroup` kwarg, so that users can specify a unique listgroup for each subject. This will be useful when conditions are randomized/counterbalanced across lists over subjects.

It would be nice to have a shortcut for counterbalanced designs. I propose that we support listgroup dictionaries, something like:

```
listgroup = {
'cbs' : [['random']*4+['forward']*4],['forward']*4]+['random']*4]],
'subj_cb' : [0,1]
}
```
internally, this would generate a nested `listgroup`, but would be less code on the user end to set it up. thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.