This project contains the code to perform realtime fMRI experiments in the following form:
- The system monitors brain activity on a TR-by-TR basis
- If the subject brain looks like one of a subset of templates, then the program fires a survey
- The program continues monitoring the brain in the background.
Documentation can be found at https://rtcog.readthedocs.io.
git clone https://github.com/nimh-sfim/rtcog.git
cd rtcog- portaudio
- afni (version AFNI_25.0.07)
conda env create -f env.ymlconda activate rtcog
pip install . # or `pip install -e .` for editable mode