Covert Visual attention can be tracked by alpha-band activity. [1] Inverted Encoding Models have been used before to track spatial attention.
We use Non Linear Perceptrons to do the same.
For the experimental data presented in [1], we have 8 spatial locations called channels.
To each spatial location we associate a tuning function. The channel tuning function is
where
Inverted Encoding Models (Forward Computation + Inversion of Weight Matrix) [1]
Directly compute mapping from EEG matrix to channel responses
python>=3.7
PyTorch
numpy
seaborn, matplotlib
Matlab R2023b + Signal Processing Toolbox
https://archive.org/details/osf-registrations-tuu4m-v1
To visualize spatial attention as heat maps
python run.py --model LinearPerceptron --numIterations 10 --startTime 0 --endTime 600 --verbose False --saveHeatMap "./trial.jpeg"
[1] Foster et al. (2017). Alpha-Band Oscillations Enable Spatially and Temporally Resolved Tracking of Covert Spatial Attention