MEG-NFB is a project to attempt a closed loop neurofeedback system including MaxFiltering and Beamforming.
Currently, the server side is using a FieldTripBuffer (and possibly also LSL) to send data to MNE-Python for further processing.
Currently, there are no extended installation instructions yet. Generally, for the FieldTripBuffer you need an active MATLAB installation. For the client, you need Python>=3.8 and a couple of packages installed.
pip install mne mne_realtime pylsl
To run the prototype you need to perform the following steps
Ziel: Alpha messen, 0.5s chunks are important, movement correction on 1 second chunks
- Obtain MPRAGE / MRI image
- Calculate BEM
- Wait 24 hours (de-magnetization)
- Put subject in MEG
- calculate coregistration while participant is holding still
- Compute forward solution
- start task
- maxfiltering/headpos correction -> apply beamforming -> get source