<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr"><div>Thank you Eric for your reply,</div><div>can you please detail more,</div><div>as you in the attachment when I load the fif file in brainstorm then I have 2 file : link to raw file &amp; neuromag channels</div><div>those what I want to reconvert to fif file</div><div>first of all at which type of file I should export it from brainstorm? and then what code should In used in mne to convert it to fif file?</div><div><br></div><div>thank you for your answer<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 May 2020 at 21:22, &lt;<a href="mailto:mne_analysis-request@nmr.mgh.harvard.edu">mne_analysis-request@nmr.mgh.harvard.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Mne_analysis mailing list submissions to<br>
        <a href="mailto:mne_analysis@nmr.mgh.harvard.edu" target="_blank">mne_analysis@nmr.mgh.harvard.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:mne_analysis-request@nmr.mgh.harvard.edu" target="_blank">mne_analysis-request@nmr.mgh.harvard.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:mne_analysis-owner@nmr.mgh.harvard.edu" target="_blank">mne_analysis-owner@nmr.mgh.harvard.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Mne_analysis digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Pyvista foreground bug (Guillaume Favelier)<br>
   2. write fif files (Abdallah Qusaibe)<br>
   3. Re: write fif files (Eric Larson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 27 May 2020 18:27:11 +0200 (CEST)<br>
From: Guillaume Favelier &lt;<a href="mailto:guillaume.favelier@inria.fr" target="_blank">guillaume.favelier@inria.fr</a>&gt;<br>
Subject: Re: [Mne_analysis] Pyvista foreground bug<br>
To: <a href="mailto:mne_analysis@nmr.mgh.harvard.edu" target="_blank">mne_analysis@nmr.mgh.harvard.edu</a><br>
Message-ID:<br>
        &lt;<a href="mailto:1336394876.9457745.1590596831250.JavaMail.zimbra@inria.fr" target="_blank">1336394876.9457745.1590596831250.JavaMail.zimbra@inria.fr</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
        External Email - Use Caution        <br>
<br>
Hi! Thanks for the nice feedback! <br>
<br>
The revamp of stc plots is still ongoing and some features are still missing. <br>
I investigated and it appears that the &#39;background&#39; and &#39;foreground&#39; parameters <br>
are not supported yet by the pyvista 3d backend. <br>
<br>
A way to track the progress of this work is on: <br>
<br>
<a href="https://github.com/mne-tools/mne-python/issues/7162" rel="noreferrer" target="_blank">https://github.com/mne-tools/mne-python/issues/7162</a> <br>
<br>
I will update this list and I believe this should be fixed shortly. <br>
<br>
Guillaume <br>
<br>
&gt; Dear developers <br>
&gt; <br>
&gt; Thanks for a terrific graphical update (pyvista stc plots) <br>
&gt; <br>
&gt; One small bug - when changing the background to &#39;white&#39; and foreground <br>
&gt; to &#39;black&#39;, text is not formatted accordingly (works as intended in <br>
&gt; mayavi) (see images below) <br>
&gt; <br>
&gt; All the best <br>
&gt; <br>
&gt; Lau <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/2d66be3c/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/2d66be3c/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 27 May 2020 19:56:12 +0300<br>
From: Abdallah Qusaibe &lt;<a href="mailto:abdallah.qusaibe@gmail.com" target="_blank">abdallah.qusaibe@gmail.com</a>&gt;<br>
Subject: [Mne_analysis] write fif files<br>
To: <a href="mailto:mne_analysis@nmr.mgh.harvard.edu" target="_blank">mne_analysis@nmr.mgh.harvard.edu</a><br>
Message-ID:<br>
        &lt;CAAj1RLuvHLgwsUxzOnSNncy3JhQrNCzYApFXsDo=NZ=<a href="mailto:hhCBrqg@mail.gmail.com" target="_blank">hhCBrqg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
        External Email - Use Caution        <br>
<br>
Dear mne programmers,<br>
<br>
<br>
I load from a tutorial in brainstorm the fif file:<br>
mind004_050924_median01_raw.fif<br>
as you seen in the attached image after loading we have the channel and raw<br>
file<br>
<br>
<br>
The information from the file coil_def.dat is integrated in the channel<br>
file when loading data from CTF .res4 or Elekta .fif files. But in my case<br>
I   I edited the coil_def.dat file and aslo I edited the channel file after<br>
loading the fif file mind004_050924_median01_raw.fif,<br>
<br>
My questions:<br>
<br>
-Brainstorm does not provide any FIF writer. How can I write those file in<br>
MNE Python?<br>
-How can I deal with problem in mne ? editing the meg channel files and<br>
coil_def.dat channel, and making  the information from the file<br>
coil_def.dat is integrated in the channel file then compute the forward<br>
problem?<br>
<br>
Best  regards<br>
A<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/6a771a3b/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/6a771a3b/attachment-0001.html</a> <br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: loading.png<br>
Type: image/png<br>
Size: 5019 bytes<br>
Desc: not available<br>
Url : <a href="http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/6a771a3b/attachment-0001.png" rel="noreferrer" target="_blank">http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/6a771a3b/attachment-0001.png</a> <br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 27 May 2020 14:21:16 -0400<br>
From: Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</a>&gt;<br>
Subject: Re: [Mne_analysis] write fif files<br>
To: Discussion and support forum for the users of MNE Software<br>
        &lt;<a href="mailto:mne_analysis@nmr.mgh.harvard.edu" target="_blank">mne_analysis@nmr.mgh.harvard.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAGu2niX6PxW9zcMU1xzkKVtEDTXX9AQMeyd5DTB85CTY_xt%2B_A@mail.gmail.com" target="_blank">CAGu2niX6PxW9zcMU1xzkKVtEDTXX9AQMeyd5DTB85CTY_xt+_A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
        External Email - Use Caution        <br>
<br>
&gt;<br>
&gt; -Brainstorm does not provide any FIF writer. How can I write those file<br>
&gt; in MNE Python?<br>
&gt;<br>
<br>
Read, edit, save:<br>
<br>
raw = mne.io.read_raw_fif(...)   # filename, etc.<br>
<a href="http://raw.info" rel="noreferrer" target="_blank">raw.info</a>[&#39;chs&#39;][idx][...] = ...  # edit however you need<br>
raw.save(...)  # write to some new filename<br>
<br>
<br>
&gt; -How can I deal with problem in mne ? editing the meg channel files and<br>
&gt; coil_def.dat channel, and making  the information from the file<br>
&gt; coil_def.dat is integrated in the channel file then compute the forward<br>
&gt; problem?<br>
&gt;<br>
<br>
Make your own coil_def.dat and use<br>
<a href="https://mne.tools/stable/generated/mne.use_coil_def.html" rel="noreferrer" target="_blank">https://mne.tools/stable/generated/mne.use_coil_def.html</a>, see for example<br>
<a href="https://mne.tools/stable/auto_examples/datasets/plot_opm_data.html#sphx-glr-auto-examples-datasets-plot-opm-data-py" rel="noreferrer" target="_blank">https://mne.tools/stable/auto_examples/datasets/plot_opm_data.html#sphx-glr-auto-examples-datasets-plot-opm-data-py</a><br>
<br>
Eric<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/168cf530/attachment.html" rel="noreferrer" target="_blank">http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200527/168cf530/attachment.html</a> <br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
End of Mne_analysis Digest, Vol 148, Issue 35<br>
*********************************************<br>
</blockquote></div>