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')
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 Mne_analysis Info Page
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 MyComplianceReport.com: Compliance and Ethics Reporting . 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.
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
> 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
> Mne_analysis Info Page
>
>
> 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
> MyComplianceReport.com: Compliance and Ethics Reporting . 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 Mne_analysis Info Page
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 MyComplianceReport.com: Compliance and Ethics Reporting . 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.
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
> 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
> Mne_analysis Info Page
>
>
> 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
> MyComplianceReport.com: Compliance and Ethics Reporting . 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 Mne_analysis Info Page
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 MyComplianceReport.com: Compliance and Ethics Reporting . 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.