Skip to content

Commit e7be247

Browse files
Merge pull request #74 from marcobarilari/marco_refactor-ET
eyeTracker 'refactoring'
2 parents 7276cad + 991994e commit e7be247

File tree

6 files changed

+223
-241
lines changed

6 files changed

+223
-241
lines changed

docs/functions_description.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ and returns a structure with an additional field with Pix suffix holding that ne
6969

7070
This will handle the Eye Tracker (EyeLink set up) and can be called to initialize the connection and start the calibration, start/stop eye(s) movement recordings and save the `*.edf` file (named with BIDS specification from cpp-lln-lab/CPP_BIDS).
7171

72+
There are several actions to perform:
73+
74+
- Calibration: to initialize EyeLink and run calibration
75+
- 'default calibration' (default) will run a calibration with 6 points
76+
- 'custom calibration' (cfg.eyeTracker.defaultCalibration = 'false') will run a calibration with 6 points but the experimenter can choose their position on the screen
77+
- StartRecording: to start eye movements recording
78+
- StopRecordings: to stop eye movements recornding
79+
- Shutdown: to save the `.edf` file with BIDS compliant name, from cpp-lln-lab/CPP_BIDS, in the output folder and shut the connection between the stimulation computer and the EyeLink computer
80+
7281
### 1.7. <a name='standByScreen'></a>standByScreen
7382

7483
It shows a basic one-page instruction stored in `cfg.task.instruction` and wait for `space` stroke.
@@ -144,4 +153,4 @@ For a sequence of length `seqLength` where we want to insert `nbTarget` targets,
144153

145154
### 6.3. <a name='repeatShuffleConditions'></a>repeatShuffleConditions
146155

147-
Given `baseConditionVector`, a vector of conditions (coded as numbers), this will create a longer vector made of `nbRepeats` of this base vector and make sure that a given condition is not repeated one after the other.
156+
Given `baseConditionVector`, a vector of conditions (coded as numbers), this will create a longer vector made of `nbRepeats` of this base vector and make sure that a given condition is not repeated one after the other.

src/cleanUp.m

100644100755
File mode changed.

0 commit comments

Comments
 (0)