[Mne_analysis] Plot a subset of evoked responses?

Maria Hakonen maria.hakonen at gmail.com
Mon Aug 25 15:08:50 EDT 2014
Search archives:

I managed to solve this already. The error came from the previous line.

-Maria


2014-08-25 18:36 GMT+03:00 Maria Hakonen <maria.hakonen at gmail.com>:

> Many thanks for your answer.
> I copied that loop in my script.
> However, I get an error:
>
>  idx = 0
>       ^
> SyntaxError: invalid syntax
>
> I wonder what could be wrong there?
>
> -Maria
>
>
> 2014-08-25 13:47 GMT+03:00 Alexandre Gramfort <
> alexandre.gramfort at telecom-paristech.fr>:
>
> hi Maria,
>>
>> see attached.
>>
>> HTH
>> Alex
>>
>>
>> On Mon, Aug 25, 2014 at 11:34 AM, Maria Hakonen <maria.hakonen at gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > I have calculated evoked responses of MEG measurements as follows:
>> > epochs = mne.Epochs(raw, events, event_id, tmin, tmax, proj=True,
>> > picks=picks_bp, baseline=(None,0), preload=True, reject=reject)
>> > evoked = epochs.average()
>> >
>> > I would like to plot a subset of 18 channels in a subpolt, each channel
>> is
>> > in its own plot.
>> > I have divided the window as follows:
>> > f, ((ax1, ax2), (ax3, ax4)) = plt.subplots(6, 3, sharex='col',
>> sharey='row')
>> >
>> > How can I now plot only a selected channels?
>> >
>> > Thank you already in advance!
>> >
>> > Regards,
>> > 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
>>
>>
>> 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.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140825/57a56c2f/attachment.html 


More information about the Mne_analysis mailing list