This is the script repository for the parametric experiment written for Presentation® (version 17.2).
-
Download the whole folders
-
Click
.exp
file to open the experiment in Presentation -
Only 1 button is required in this experiment. In
Settings
->Response
tab, add a button you want. Give that button an index of "1". -
In
Settings
->Port
, select the port device for the EEG experiment-
After port is selected, please un-comment the following lines in the
parametric_exp.sce
file (remove the "#" sign to un-comment) -
write_codes = true; pulse_width = 6; response_port_output = true;
-
- Click
.exp
file to open the experiment in Presentation - In
Main
tab, clickRun
- Enter the subject ID according to the counterbalance sheet (only integer from 1 to 32 is allowed), and then click
OK
- Click
Run Scenario
- Since we are using LPT port, we can only port a code in the range of 0 to 255.
- Since for this experiment, there are very frequent stimulus onsets and are easy to be in conflict with a response porting. Thus, the response porting is disable and the response should be matched to the EEG data through the log file.
IntervalCond | StimId | Code (First Two) |
---|---|---|
1 | 1 | 1 |
2 | 1 | 2 |
2 | 2 | 3 |
4 | 1 | 4 |
4 | 2 | 5 |
4 | 3 | 6 |
4 | 4 | 7 |
16 | 1 | 8 |
16 | 2 | 9 |
16 | 3 | 10 |
16 | 4 | 11 |
16 | 5 | 12 |
16 | 6 | 13 |
16 | 7 | 14 |
16 | 8 | 15 |
16 | 9 | 16 |
16 | 10 | 17 |
16 | 11 | 18 |
16 | 12 | 19 |
16 | 13 | 20 |
16 | 14 | 21 |
16 | 15 | 22 |
16 | 16 | 23 |
RegularCond | DeviantCond | IsDeviant | Code(Last Digit) |
---|---|---|---|
1 | 1 | 0 | 1 |
1 | 1 | 1 | 2 |
1 | 2 | 0 | 3 |
1 | 2 | 1 | 4 |
2* | 1 | 0 | 5 |
2 | 1 | 1 | 6 |
2 | 2 | 0 | 7 |
2 | 2 | 1 | 8 |
*For 1-interval condition, the 1 or 2 in RegularCond does not refer to the regularity of the blocks because it is always regular. It only refers to whether the 1-interval sub-block is belong to the regular or irregular supra-block.