This is a collaborative space. In order to contribute, send an email to maximilien.chaumon@icm-institute.org
On any page, type the letter L on your keyboard to add a "Label" to the page, which will make search easier.
app-head-pos
APP UNDER DEVELOPMENT private app on bl
This App aims at writing a head position file (.pos), which can be used in app-bad-channels and app-maxfilter. To do so, several MNE Python functions are used (see https://mne.tools/stable/auto_tutorials/preprocessing/59_head_positions.html#sphx-glr-auto-tutorials-preprocessing-59-head-positions-py).
GitHub repository
https://github.com/AuroreBussalb/app-head-pos
Brainlife datatype used:
For input: neuro/meg/fif
For outputs: neuro/meg/fif-override
Input of the App
Files | Format | Datatype | Description | Optional |
---|---|---|---|---|
MEG signals | .fif | meg/fif | The file must contain cHPI info | No |
Output of the App:
File | Format | Datatype | Description | Optional |
---|---|---|---|---|
Head position file | .pos | meg/fif-override | Head position file data | No |
Besides, in the output directory, there are the optional files that can be used in a next App. This is mandatory, because the App that will be run after app-head-pos
can take as input all the files in app-head-pos
’s output directory corresponding to the datatype of the input of the next App (see How to run Apps one after another).
At ICM, the cHPI are not recorded because it generates artifacts around 7Hz. So this App can’t be run on data registered at the ICM.
Parameters of the App
The parameters of the App correspond to the parameters passed to the Python functions used in the App. Their default values proposed in Brainlife or in config.json.example
correspond to the default values of MNE Python 0.23.
Next improvements
Run this App on data that contain cHPI
Rename this app into a more explicit name (“app-compute-continuous-head-position”?)
Make sure that it is okay to run this app after of before
app-mean-transformation-matrix
, the order must not matter.