<div dir="ltr">Hi Virginie<div><br></div><div>1. this is in fact an issue with the documentation, not a bug. The &#39;ignore&#39; option will avoid crashes if one or many events are missing but at least one remains. If all events are missing nothing will be ignored, currently the constructor needs at east one event. We might want to rethink the semantics. Out of curiosity, what are you doing with epochs for which you know in advance that events and ids don&#39;t match? In other words, would there be a use case for the behavior you expected from &#39;ignore&#39;? If it&#39;s just to avoid crashes when no event is found, I would manually check that and skip computations if nothing is found. For example (in a loop that iterates over datasets or subjects): </div><div><br></div><div>if not np.any(np.in1d(event_ids.values(), events[:, 2])):</div><div>    continue</div><div><br></div><div>2. the second issue sounds mysterious to me, I don&#39;t `smell` what might be going on there. </div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-01 14:05 GMT+02:00 Virginie van Wassenhove <span dir="ltr">&lt;<a href="mailto:virginie.van.wassenhove@gmail.com" target="_blank">virginie.van.wassenhove@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><div><br></div><div>2. I was giving a quick shot at TF analysis in sensor space using &quot;tfr_morlet&quot; - although it runs fine, the returned power and itc are not in readable format or am I missing someting? e.g. &quot;power.plot_topo&quot;  is not recognized. This was run in spyder with updated mne-python.</div></span></div></blockquote><div><br></div><span><div>In which sense is the format not readable, how does this look like?</div></span></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div>What does it mean that &quot;power.plot_topo&quot; is not recognized?</div><div><br></div></span></div></div></div></blockquote><div><br></div></span><div>I had to close that console, lost the 2 hours computations and I can&#39;t tell you the exact &quot;format&quot; value it was reporting when calling the apparently non-existent &quot;power&quot; variable despite having computed it for 2 hours. I&#39;ll try that again and be more specific.</div><div><br></div></div></div></div></blockquote><div><br></div><div>So you imply that power = tfr_morlet completed (after 2 hours?) but that `power` was not found?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Is it possible that &quot;power._getdata()&quot; need to be used to actually load the results of tfr_morlet in a spyder console? </div><div><br></div></div></div></div></blockquote><div><br></div><div>This should not be necessay, this one is private and should be ignored for regular usage.</div><div><br></div><div>-Denis</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>for &quot;power.pot_topo&quot;, I need to recompute and I&#39;ll tell you.</div><div><br></div><div>Later, thanks!</div><div><div class="h5"><div>V</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div></div><div>-Denis </div><div><br></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><span><div>Any help appreciated!<br></div><div><br></div><div>Best, </div><span><font color="#888888"><div>-V</div><div><div><br></div><div><br clear="all"><div><br></div>-- <br><font size="1">Virginie van Wassenhove<br>Exec Dir NeuroSpin MEG<br>Group leader, Brain Dynamics<br>CEA.DSV.I2BM.NeuroSpin - INSERM Cognitive Neuroimaging Unit<br>Bât 145 Point Courrier 156<br>Gif s/ Yvette F-91191 FRANCE<br><br><a href="tel:%2B33%280%291.69.08.1667" value="+33169081667" target="_blank">+33(0)1.69.08.1667</a><br><a href="mailto:Virginie.van.Wassenhove@gmail.com" target="_blank">Virginie.van.Wassenhove@gmail.com</a><br><a href="https://sites.google.com/site/virginievanwassenhove/" target="_blank">https://sites.google.com/site/virginievanwassenhove/</a></font><br>
</div></div></font></span></span></div>
<br><span>_______________________________________________<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" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></span></blockquote></div><br></div></div>
<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" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><font size="1">Virginie van Wassenhove<br>Exec Dir NeuroSpin MEG<br>Group leader, Brain Dynamics<br>CEA.DSV.I2BM.NeuroSpin - INSERM Cognitive Neuroimaging Unit<br>Bât 145 Point Courrier 156<br>Gif s/ Yvette F-91191 FRANCE<br><br><a href="tel:%2B33%280%291.69.08.1667" value="+33169081667" target="_blank">+33(0)1.69.08.1667</a><br><a href="mailto:Virginie.van.Wassenhove@gmail.com" target="_blank">Virginie.van.Wassenhove@gmail.com</a><br><a href="https://sites.google.com/site/virginievanwassenhove/" target="_blank">https://sites.google.com/site/virginievanwassenhove/</a></font><br>
</div></div></div></div>
<br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div></div>