Anda di halaman 1dari 1

BCA How to run

I have tried my best to make everything automated so ideally you will only have to run the following line
of code:
>> main_ver3(subj, ismri, varargin)
Input Variables
- subj: the subjects initials (used when in the lab) or subject number (used when being scanned).
This variable will always be a string.
- ismri: use 0 when in the lab and 1 when scanning a participant. When ismri is 1, there will be 9
double surface runs but when ismri is 0, there will be 4 double surface runs. There will always be 2
single surface runs.
- varargin: holds default values that can be changed.
o best_pest: use the best PEST adaptive staircase procedure. Set as the default staircase
procedure (set to 1).
o quest: use the quest adaptive staircase procedure (set to 0).
o performance: performance level at which the staircase will converge (set to 75% correct).
o eyeTrack: use the eyetracker or not (set to 0).
To change varargin variables, for example if eyetracking is needed, just follow the format shown
below:
>> main_ver3(subj, ismri, eyeTrack, 1)
Training
During training, which occurs in the lab, you will have to run the following function:
>> main_ver3(subj, 0, eyeTrack, 1)
Scanning
When scanning, run the following function:
>> main_ver3(subj, 1)
Function Tidbits
When you run the above function, the following things will happen:
- The data will be analyzed after every 2 runs so that you can make sure that the participant is doing
everything correctly.
- Staircase parameters will be updated after every 2 runs to ensure an accurate threshold level is
reached by the staircase.
- After the double surface runs, the single surface runs will be run immediately.
- After the experiment is over, all the data is analyzed.

Anda mungkin juga menyukai