<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 dir="ltr">hi,<br><br>mne-features has never been pushed to pypi. You should do:<br><br>pip install git+<a href="https://github.com/mne-tools/mne-features.git#egg=mne_features" target="_blank">https://github.com/mne-tools/mne-features.git#egg=mne_features</a><br><br>to install from the master branch.<div><br></div><div>Readme of mne-features needs to be updated or package should be released and</div><div>pushed to pypi.<br><div><br></div><div>Alex</div></div></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On Thu, Oct 10, 2019 at 8:21 AM Bhuvaneshwari M &lt;<a href="mailto:bhvnshwari@gmail.com" target="_blank">bhvnshwari@gmail.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">Hi,<div>   Seasons&#39; greetings.</div><div>           I am new to MNE and also to python. How to install mne-features in anaconda navigator. I tried with pip install mne-features, but shows the following error:</div><div><br></div><div>(base) C:\Users\Admin&gt;pip install mne-features<br>Collecting mne-features<br>  Could not find a version that satisfies the requirement mne-features (from versions: )<br>No matching distribution found for mne-features</div><div><br></div><div>the following Requirement are also satisfied:</div><div><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px">These are the dependencies to use MNE-Features:</p><ul style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px"><li style="box-sizing:border-box">numpy (&gt;=1.8)</li><li style="box-sizing:border-box;margin-top:0.25em">matplotlib (&gt;=1.3)</li><li style="box-sizing:border-box;margin-top:0.25em">scipy (&gt;=0.19)</li><li style="box-sizing:border-box;margin-top:0.25em">numba (&gt;=0.37)</li><li style="box-sizing:border-box;margin-top:0.25em">scikit-learn (&gt;=0.19)</li><li style="box-sizing:border-box;margin-top:0.25em">mne (&gt;=0.14)</li><li style="box-sizing:border-box;margin-top:0.25em">PyWavelets (&gt;=0.5.2)</li><li style="box-sizing:border-box;margin-top:0.25em">pandas (&gt;=0.20)</li></ul><div><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style="font-size:16px">please help me out.</span></font></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="&#39;times new roman&#39;, serif" color="#999900">regards,<br></font><div><b><i><font face="&#39;times new roman&#39;, serif" color="#999900">M.Bhuvaneshwari,<br></font></i></b></div><div><b style="color:rgb(153,153,0);font-family:&quot;times new roman&quot;,serif"><i>Research Scholar,</i></b><br></div></div><div><b style="color:rgb(153,153,0);font-family:&quot;times new roman&quot;,serif"><i>Karunya Institute of technology and Sciences</i></b></div><div><font color="#999900" face="times new roman, serif"><b><i>Coimbatore.<br></i></b></font></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 5, 2019 at 12:51 AM Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</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"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">That function just makes the surfaces, plus the subject&#39;s head FIF. I suspect you&#39;ve tried to use `subject-head.fif` as your BEM, which will not work.<div><br></div><div>You need to use `mne.make_bem_model` and `mne.make_bem_solution` to actually make the BEM itself from the surfaces `make_watershed_bem` produced, choosing along the way if you want a 1-layer or 3-layer model. You can then save these to disk and load them when you need them.<div><br></div><div>Eric</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 4, 2019 at 7:21 PM Christian O&#39;Reilly &lt;<a href="mailto:christian.oreilly@gmail.com" target="_blank">christian.oreilly@gmail.com</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"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr"><div>Hi, <br></div><div><br></div><div><div>At line 1182 of <a href="https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/bem.py" target="_blank">https://github.com/mne-tools/mne-python/blob/maint/0.19/mne/bem.py</a> mne.bem.make_watershed_bem() is creating the BEM FIF file using FIFF.FIFFV_BEM_SURF_ID_HEAD (==4). When using this BEM file for source modeling mne.setup_volume_source_space() expect FIFF.FIFFV_BEM_SURF_ID_BRAIN (==1) (line 1705 <a href="https://github.com/mne-tools/mne-python/blob/master/mne/source_space.py" target="_blank">https://github.com/mne-tools/mne-python/blob/master/mne/source_space.py</a>) and then crash because this surface id is not found in the BEM (stack trace below).</div><div><br></div><div>I used <br></div><div><br></div><div>mne.bem.make_watershed_bem(fs_subject, subjects_dir=subjects_dir, <br>                           overwrite=False, show=True)</div><div><br></div><div>to make the BEM and <br></div><div><br></div><div>vol_src = setup_volume_source_space(<br>    subject, mri=fname_aseg, pos=10.0, bem=fname_model,<br>    add_interpolator=False, volume_label=labels_vol, subjects_dir=subjects_dir)</div><div><br></div><div>to build the source space. Do you think it is a bug (I&#39;ll make a ticker if so), or does it look like I used these functions not correctly?</div><div><br></div><div>Best,</div><div><br></div><div>Christian<br></div><br>---------------------------------------------------------------------------<br>ValueError                                Traceback (most recent call last)<br>&lt;ipython-input-27-be76d29cf63d&gt; in &lt;module&gt;<br>      4 vol_src = setup_volume_source_space(pos=10.0, bem=fname_model,<br>      5     add_interpolator=False,  # just for speed, usually use True<br>----&gt; 6     mri=fname_aseg)<br>      7 # Generate the mixed source space<br>      8 src += vol_src<br><br>&lt;/home/oreillyc/mne-python/mne/externals/decorator.py:decorator-gen-90&gt; in setup_volume_source_space(subject, pos, mri, sphere, bem, surface, mindist, exclude, subjects_dir, volume_label, add_interpolator, verbose)<br><br>~/mne-python/mne/utils/_logging.py in wrapper(*args, **kwargs)<br>     88             with use_log_level(verbose_level):<br>     89                 return function(*args, **kwargs)<br>---&gt; 90         return function(*args, **kwargs)<br>     91     return FunctionMaker.create(<br>     92         function, &#39;return decfunc(%(signature)s)&#39;,<br><br>~/mne-python/mne/source_space.py in setup_volume_source_space(subject, pos, mri, sphere, bem, surface, mindist, exclude, subjects_dir, volume_label, add_interpolator, verbose)<br>   1704             # read bem surface in the MRI coordinate frame<br>   1705             surf = read_bem_surfaces(bem, s_id=FIFF.FIFFV_BEM_SURF_ID_BRAIN,<br>-&gt; 1706                                      verbose=False)<br>   1707             <a href="http://logger.info" target="_blank">logger.info</a>(&#39;Loaded inner skull from %s (%d nodes)&#39;<br>   1708                         % (bem, surf[&#39;np&#39;]))<br><br>&lt;/home/oreillyc/mne-python/mne/externals/decorator.py:decorator-gen-50&gt; in read_bem_surfaces(fname, patch_stats, s_id, verbose)<br><br>~/mne-python/mne/utils/_logging.py in wrapper(*args, **kwargs)<br>     87             # set it back if we get an exception<br>     88             with use_log_level(verbose_level):<br>---&gt; 89                 return function(*args, **kwargs)<br>     90         return function(*args, **kwargs)<br>     91     return FunctionMaker.create(<br><br>~/mne-python/mne/bem.py in read_bem_surfaces(fname, patch_stats, s_id, verbose)<br>   1270             surf = [s for s in surf if s is not None]<br>   1271             if not len(surf) == 1:<br>-&gt; 1272                 raise ValueError(&#39;surface with id %d not found&#39; % s_id)<br>   1273         else:<br>   1274             surf = list()<br><br>ValueError: surface with id 1 not found</div></div>
_______________________________________________<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></blockquote></div>
_______________________________________________<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></blockquote></div>
_______________________________________________<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></blockquote></div>
</blockquote></div></div>