[Mne_analysis] Average over channels

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu Jul 9 07:26:43 EDT 2020
Search archives:

        External Email - Use Caution        

hi,

yes create an issue to we can exchange ideas more easily

thx

A

On Thu, Jul 9, 2020 at 12:30 PM Johann Benerradi
<Johann.Benerradi at nottingham.ac.uk> wrote:
>
>         External Email - Use Caution
>
> Hi Alex,
>
> Alright, thank you. Is that something users would be interested in, and worth creating a GitHub issue for feature request? I personally would like to do such a thing to average channels by ROI before classification with fNIRS (in addition to having this for visualisation)... I can eventually work on an implementation, but as for now I'll keep doing this with get_data() and np.mean().
>
> Thanks,
> Johann
> ________________________________
> From: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> on behalf of Alexandre Gramfort <alexandre.gramfort at inria.fr>
> Sent: 09 July 2020 07:47
> To: Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu>
> Subject: Re: [Mne_analysis] Average over channels
>
>         External Email - Use Caution
>
> hi Johann,
>
> no it's not possible presently.
>
> you can group channel when plotting though
>
> https://mne.tools/stable/generated/mne.viz.plot_compare_evokeds.html#mne.viz.plot_compare_evokeds
>
> Alex
>
> On Wed, Jul 8, 2020 at 11:43 PM Johann Benerradi
> <Johann.Benerradi at nottingham.ac.uk> wrote:
> >
> >         External Email - Use Caution
> >
> > Hello MNE users,
> >
> > I was wondering if there is an easy way to do an average over channels on a Raw or Epochs object. I've seen a few plotting functions with a "combine" parameter but is it possible to create a new Raw/Epochs object with combined channels (for example a new object with pseudo-channels representing ROIs)? I would like to avoid extracting a data array and doing it with NumPy if there is easier...
> >
> > Thanks a lot!
> >
> > Best wishes,
> >
> > Johann Benerradi
> > -------------------------
> > PhD Student
> > School of Computer Science
> > University of Nottingham, UK
> > -------------------------
> > https://hanbnrd.gitlab.io/
> >
> >
> > This message and any attachment are intended solely for the addressee
> > and may contain confidential information. If you have received this
> > message in error, please contact the sender and delete the email and
> > attachment.
> >
> > Any views or opinions expressed by the author of this email do not
> > necessarily reflect the views of the University of Nottingham. Email
> > communications with the University of Nottingham may be monitored
> > where permitted by law.
> >
> >
> >
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please contact the sender and delete the email and
> attachment.
>
> Any views or opinions expressed by the author of this email do not
> necessarily reflect the views of the University of Nottingham. Email
> communications with the University of Nottingham may be monitored
> where permitted by law.
>
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list