This repository contains a collection of tools for analyzing and classifying Steady-State Visual Evoked Potential (SSVEP) Brain-Computer Interfaces (BCI) with high-frequency stimuli. It includes code for classification using Filter Bank Canonical Correlation Analysis (FBCCA) with filters specifically designed for frequencies in the 30 Hz and higher range.
Key features:
- SSVEP analysis tools for high-frequency stimuli
- FBCCA classification implementation
- Custom filter designs for 30+ Hz frequencies
- EEG data processing utilities
Ensure the following are installed:
- Python 3.8 or later
- pip (Python package manager)
- Required hardware:
- EEG System: BioSemi ActiveTwo or compatible device
-
Clone the repository:
git clone https://github.com/jiapulidoar/HF-SSVEP cd ssvep-bci -
Set up a virtual environment (optional but recommended):
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
-
Install the required Python packages:
pip install -r requirements.txt
-
Setup BioSemi ActiveTwo and start TCP server in port
8888and sampling rate 512Hz. -
Online Experiment: Configure the system settings in
eegtools\config.pyand run:python eegtools\onlineReceiveData.pyeegtools\config.py
