[Mne_analysis] Mne_analysis Digest, Vol 75, Issue 1

Mauricio Aspé Sánchez mauricio.aspe.s at gmail.com
Wed Apr 2 15:25:11 EDT 2014
Search archives:

Hi!
Thanks for your answers.

Efectively I set "eog = True".
Would I have to set, when I read the raw edt, n_eeg to another value
instead of None?
Currently I'm doing that by

raw = read_raw_edf(input_fname = bdf_file, n_eeg = None, stim_channel = -1,
annot = None, annotmap = None, hpts = hpts_file, preload = False, verbose =
None)

On the other hand, I cannot find the documentation for mne.rename_channels.
Could you tell me what do I have to do, more specifically, with this
function?

All the best,
Mauricio.


2014-04-02 15:14 GMT-03:00 dgw <dgwakeman at gmail.com>:

> The other possible scenario is that you need to change the sensor
> type. This has been available in the latest code for ~ 1 month with
> the mne.rename_channels function.
>
> HTH
> D
>
> On Wed, Apr 2, 2014 at 1:38 PM, Kambiz Tavabi <ktavabi at uw.edu> wrote:
> > Mauricio,
> > Did you set `eog=True` in the arguments to  `mne.fiff.pick_types` i.e.,
> >
> > picks=mne.fiff.pick_types(info, meg=False, eeg=True, stim=False,
> eog=True,
> > exclude=[])
> >
> > If the picks array is built without your channels of interest then
> > mne.Epochs will throw the error you're seeing c.f. epoching example
> > (
> http://martinos.org/mne/stable/auto_examples/plot_from_raw_to_multiple_epochs_to_evoked.html
> ).
> >
> > best,
> > Kambiz
> >
> >
> > ------------------------------------------------------------
> > Kambiz Tavabi PhD
> > Institute for Learning & Brain Sciences
> > 1715 Columbia Road N
> > Portage Bay Building
> > Box 357988
> > University of Washington
> > Seattle, WA 98195-7988
> > Tel: 206-685-6173
> > ------------------------------------------------------------
> >
> >
> > On Wed, Apr 2, 2014 at 9:00 AM, <
> mne_analysis-request at nmr.mgh.harvard.edu>
> > wrote:
> >>
> >> Send Mne_analysis mailing list submissions to
> >>         mne_analysis at nmr.mgh.harvard.edu
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >> or, via email, send a message with subject or body 'help' to
> >>         mne_analysis-request at nmr.mgh.harvard.edu
> >>
> >> You can reach the person managing the list at
> >>         mne_analysis-owner at nmr.mgh.harvard.edu
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Mne_analysis digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. how to set eog channels (Mauricio Asp? S?nchez)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Wed, 2 Apr 2014 11:21:39 -0400
> >> From: Mauricio Asp? S?nchez <mauricio.aspe.s at gmail.com>
> >> Subject: [Mne_analysis] how to set eog channels
> >> To: "mne_analysis at nmr.mgh.harvard.edu"
> >>         <mne_analysis at nmr.mgh.harvard.edu>
> >> Message-ID:
> >>
> >> <CANm+xxYt7WMO7nHKRgKsH+8bCJdwnvO4SQ-z72kQOra1WAa7sA at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> Hi everybody,
> >> sorry for all these newbie's questions, but I'm really interested in
> >> migrate all my EEGLab analysis to Mne-Python.
> >>
> >> I'm trying to epoch my data, but the command
> >>
> >> epochs = mne.Epochs(raw, events = events, event_id = events_ids,
> >>         tmin = tmin, tmax = tmax, baseline = baseline, picks = picks,
> >> preload = True,           reject = dict(eeg = 80e-6, eog = 150e-6))
> >>
> >> gives me the error:
> >>
> >> ValueError: No EOG channel found. Cannot reject based on EOG.
> >>
> >> and I cannot figure out how to label the EOG channels in my raw
> structure.
> >>
> >> How do I do that?
> >>
> >> Thanks for all,
> >> Mauricio.
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >>
> http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140402/2c01fbc1/attachment-0001.html
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Mne_analysis mailing list
> >> Mne_analysis at nmr.mgh.harvard.edu
> >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >>
> >> End of Mne_analysis Digest, Vol 75, Issue 1
> >> *******************************************
> >>
> >>
> >> 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.
> >
> _______________________________________________
> 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/20140402/ab12f524/attachment.html 


More information about the Mne_analysis mailing list