[Mne_analysis] Problem with single_trial_power()
Maria Hakonen
maria.hakonen at gmail.com
Mon Oct 27 05:38:54 EDT 2014
Hi,
Many thanks Alex!
This solved the problem.
-Maria
2014-10-27 10:25 GMT+02:00 Maria Hakonen <maria.hakonen at gmail.com>:
> Hi,
>
> The script is as an attachment and is loaded from here:
>
> http://martinos.org/mne/stable/auto_examples/stats/plot_cluster_stats_time_frequency.html#example-stats-plot-cluster-stats-time-frequency-py
>
> -Maria
>
> 2014-10-27 10:14 GMT+02:00 Alexandre Gramfort <
> alexandre.gramfort at telecom-paristech.fr>:
>
>> hi Maria,
>>
>> can you share a script that has this problem on the mne sample data?
>>
>> Alex
>>
>>
>> On Mon, Oct 27, 2014 at 8:52 AM, Maria Hakonen <maria.hakonen at gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > I have tried mne python example plot_cluster_stats_time_frequency.py
>> with
>> > my own data and with the data used in the example but in both cases the
>> > command
>> >
>> > epochs_power_1 = single_trial_power(data_condition_1,
>> > Fs=Fs,frequencies=frequencies, n_cycles=n_cycles,
>> use_fft=False,decim=decim)
>> >
>> > gives an error:
>> >
>> > TypeError: single_trial_power() takes at least 3 arguments (6 given)
>> >
>> > Could someone please let me know how to solve this problem? I think that
>> > there should be enough arguments if 3 is needed and I have given 6.
>> >
>> > Thanks,
>> > Maria
>> >
>> > _______________________________________________
>> > Mne_analysis mailing list
>> > Mne_analysis at nmr.mgh.harvard.edu
>> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>> >
>> >
>> > The information in this e-mail is intended only for the person to whom
>> it is
>> > addressed. If you believe this e-mail was sent to you in error and the
>> > e-mail
>> > contains patient information, please contact the Partners Compliance
>> > HelpLine at
>> > http://www.partners.org/complianceline . If the e-mail was sent to you
>> in
>> > error
>> > but does not contain patient information, please contact the sender and
>> > properly
>> > dispose of the e-mail.
>> >
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141027/382efcf8/attachment.html
More information about the Mne_analysis
mailing list