Though seemingly affected only by its immediate surrounding, the sphere of external influence extends to infinite distance. Nikola Tesla
Table of Contents |
---|
Prerequisite
...
This tutorial teaches how to use the Maxfilter command line tool to remove artifacts on MEG signals coming from outside of the sphere of all MEG channels. This tool was build by Elekta, the vendor of our MEG.
It is also at this step that bad channels are marked and discarded (interpolated).
Step-by-step guide
- Choose a reference head positionÂ
- Run Maxfilter on the raw data
- Check correction with Muse
- Iterate to fine tune correction parameters
...
Code Block |
---|
maxfilter_cenir -f run01.fif -st 20000 -corr 0.98 -bad 0221 0332 -trans meanmeanhp.fif -o run01_tsss.fif |
Brief description of the options (the user is referred to the pdf manual for more information):
-f
: the input file-o
: the output file-tsss
: perform temporal source space separation (the standard at CENIR). The option is followed by a buffer length (in seconds), which should always be larger than your individual recordings.-corr
: amount of correlation between data and noise that should be rejected (see manual for more explanation). Lowering the value below the default 0.98 may sometimes help getting rid of artifacts but can also lead to removing interesting signal from the data. Careful inspection is recommended (see below).-bad
: which channels should be considered bad, i.e. removed prior to correction and later reinterpolated. The -autobad command is not recommended because it leaves no trace of which channels are considered bad. Rather use xscan (see below).-trans
: transforms the MEG data into the sensor array defined by the channel info in a specified file (heremean.fif
).
...
Warning | ||
---|---|---|
| ||
Be sure to use the |
...
After Maxfilter has finished, it is important to check signal quality visually. We use Muse to do this.
Code Block |
---|
muse run01_tsss.fif |
...