Anti @ EEG
Anti@EEG is a version of Antisaccade Tasks originally developed for Brain Mechanisms R01 (7T).
The source is vgs_ant.py (Psychopy) part of Memory Guided Saccade (MGS) Task, same interface can also run Visually Guided Saccade Task.
Used in 7T EEG, Habit EEG Protocol, SPA EEG.
Dollar Reward's psychopy implementation can also be run with parallel port (LPT) Status channel triggers enabled for EEG recording.
Degree Visual Angle/Distance Measurements
For local SSR measurements to visual angle, see Anti's visual angle section and SRR's visual angle calculator.
- 2026-08-06 (FC,VD,WF): EEG DollarReward dots presented at 8, 16, and 23 degrees from center.
- 2026-07-30 (WF, PV): EEG chin rest measurements
| screen width | 53 cm / 1920 px |
|---|---|
| screen height | 30 cm / 1080 px |
| chinrest eye to bottom | 61.5 cm |
| chin rest eye to top | 60 cm |
rad2deg <- \(x) x * 180/pi # 180deg is pi radians dot_pos <- c(7,108,214) # relative to a 640px screen from_center_px <- 640/2 - dot_pos # pixel position from center fc_cm <- from_center_px * 53/640 # pixel to screen distance on 53cm wide screen dotdegs <- atan(fc_cm/60)|>rad2deg() # angle from center to points w/ 60cm eye-to-screen # 23.374051 16.316696 8.327162
Saccade scoring
Using EOG, see eog_data
Hera/Projects/7TBrainMech/scripts/eeg/eog_cal
- /Volumes/Hera/Projects/7TBrainMech/scripts/eeg/Makefile
eog_cal/eye_scored_mgs_eog_cleanvisit.csv: eog_cal/eye_scored_mgs_eog.csv cd eog_cal && Rscript clean_eog_visit.R eog_cal/eye_scored_mgs_eog.csv: $(wildcard /Volumes/Hera/Raw/EEG/7TBrainMech/1*_2*/*_mgs*.bdf) $(wildcard /Volumes/Hera/Raw/EEG/7TBrainMech/1*_2*/*_MGS*.bdf) cd eog_cal && ml score_eog.m
