To encode the experimental paradigm, the CSV file format comprises 5 columns:
Example extracted from pyhrf/python/datafiles/paradigm_loc.csv
:
Session | Experimental Condition | Onset | Duration | Amplitude |
---|---|---|---|---|
0 | calculaudio | 35.400000 | 0.000000 | |
0 | clicDaudio | 143.400000 | 0.000000 | |
0 | clicDaudio | 162.000000 | 0.000000 | |
0 | clicDaudio | 230.000000 | 0.000000 | |
0 | clicDvideo | 18.000000 | 0.000000 | |
0 | clicDvideo | 69.000000 | 0.000000 | |
0 | clicDvideo | 227.700000 | 0.000000 |
NB: Be careful not to end float onset and duration with a point .
because it could result in python not being able to split the paradigm
correctly (end with a zero if necessary)
To encode contrasts definition, use the following json format:
{
"contrast_name": "linear combination of conditions",
"Audio-Video": "clicDaudio-clicDvideo"
}
The names in the contrast definition must correspond to the experimental conditions (case sensitive) defined in the above CSV file.