[Mne_analysis] reject parameter for epochs and get_data()

Jaakko Leppäkangas jaeilepp at student.jyu.fi
Tue Apr 5 04:38:20 EDT 2016
Search archives:

Hi Laetitia,

what is the output if you type epochs_s.drop_log? That might give some
clues of why they're dropped.

-Jaakko

On 5 April 2016 at 10:34, Laetitia Grabot <laetitia.grabot at gmail.com> wrote:

> For instance, I have the following output: 118 epochs corresponding to
> events=200 are found, but when I applied get_data, 19 epochs are dropped...
>
> epochs_s= mne.Epochs(raw,new_events, event_id,tmin,tmax, picks=picks,
> baseline=(tmin_bsl,0))
>
>     ...:
>
> 118 matching events found
>
> Created an SSP operator (subspace dimension = 1)
>
> 1 projection items activated
>
>
> epochs_s.get_data().shape
>
> Applying baseline correction ... (mode: mean)
>
> 19 bad epochs dropped
>
> Out[59]: (99, 366, 1701)
>
> 2016-04-05 10:29 GMT+02:00 Laetitia Grabot <laetitia.grabot at gmail.com>:
>
>> I have:
>> event_id = 200 and I got only epochs corresponding to this events when I
>> created the epochs object. However I still have some bad epochs dropped
>> (their event_id are also 200) when I am usins epochs.get_data()...
>>
>> 2016-04-05 10:25 GMT+02:00 Alexandre Gramfort <
>> alexandre.gramfort at telecom-paristech.fr>:
>>
>>> what is the content of event_id and events?
>>>
>>> Epochs only keeps the events that belong to event_id
>>>
>>> Alex
>>>
>>> _______________________________________________
>>> 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/20160405/5133af8d/attachment-0001.html 


More information about the Mne_analysis mailing list