<div dir="ltr">Hi,<div><br></div><div>Many thanks Alex!</div><div>This solved the problem.</div><div><br></div><div>-Maria</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-27 10:25 GMT+02:00 Maria Hakonen <span dir="ltr">&lt;<a href="mailto:maria.hakonen@gmail.com" target="_blank">maria.hakonen@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">Hi,<div><br></div><div>The script is as an attachment and is loaded from here: </div><div><a href="http://martinos.org/mne/stable/auto_examples/stats/plot_cluster_stats_time_frequency.html#example-stats-plot-cluster-stats-time-frequency-py" target="_blank">http://martinos.org/mne/stable/auto_examples/stats/plot_cluster_stats_time_frequency.html#example-stats-plot-cluster-stats-time-frequency-py</a><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Maria</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-10-27 10:14 GMT+02:00 Alexandre Gramfort <span dir="ltr">&lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank">alexandre.gramfort@telecom-paristech.fr</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi Maria,<br>
<br>
can you share a script that has this problem on the mne sample data?<br>
<br>
Alex<br>
<div><div><br>
<br>
On Mon, Oct 27, 2014 at 8:52 AM, Maria Hakonen &lt;<a href="mailto:maria.hakonen@gmail.com" target="_blank">maria.hakonen@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have tried mne python example  plot_cluster_stats_time_frequency.py with<br>
&gt; my own data and with the data used in the example but in both cases the<br>
&gt; command<br>
&gt;<br>
&gt; epochs_power_1 = single_trial_power(data_condition_1,<br>
&gt; Fs=Fs,frequencies=frequencies, n_cycles=n_cycles, use_fft=False,decim=decim)<br>
&gt;<br>
&gt; gives an error:<br>
&gt;<br>
&gt; TypeError: single_trial_power() takes at least 3 arguments (6 given)<br>
&gt;<br>
&gt; Could someone please let me know how to solve this problem? I think that<br>
&gt; there should be enough arguments if 3 is needed and I have given 6.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Maria<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt; e-mail<br>
&gt; contains patient information, please contact the Partners Compliance<br>
&gt; HelpLine at<br>
&gt; <a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
&gt; error<br>
&gt; but does not contain patient information, please contact the sender and<br>
&gt; properly<br>
&gt; dispose of the e-mail.<br>
&gt;<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>