[Mne_analysis] write fif files

Eric Larson larson.eric.d at gmail.com
Wed May 27 14:21:16 EDT 2020
Search archives:

        External Email - Use Caution        

>
> -Brainstorm does not provide any FIF writer. How can I write those file
> in MNE Python?
>

Read, edit, save:

raw = mne.io.read_raw_fif(...)   # filename, etc.
raw.info['chs'][idx][...] = ...  # edit however you need
raw.save(...)  # write to some new filename


> -How can I deal with problem in mne ? editing the meg channel files and
> coil_def.dat channel, and making  the information from the file
> coil_def.dat is integrated in the channel file then compute the forward
> problem?
>

Make your own coil_def.dat and use
https://mne.tools/stable/generated/mne.use_coil_def.html, see for example
https://mne.tools/stable/auto_examples/datasets/plot_opm_data.html#sphx-glr-auto-examples-datasets-plot-opm-data-py

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/168cf530/attachment-0001.html 


More information about the Mne_analysis mailing list