[Mne_analysis] Epochs on data with no events

Eric Larson larson.eric.d at gmail.com
Wed Oct 19 09:05:25 EDT 2016
Search archives:

However, keep in mind that private functions (those that start with `_`)
are not recommended for public use, as they can change behavior or be
removed at any time without the changes being documented or going through a
deprecation cycle. So it is safer to use the public function
`make_fixed_length_events` to make events, and pass those the events to the
`Epochs` constructor.

Eric


On Wed, Oct 19, 2016 at 8:12 AM, Mikołaj Magnuski <mmagnuski at swps.edu.pl>
wrote:

> You could also use _segment_raw which works like this:
>
> from mne.epochs import _segment_raw
> epochs = _segment_raw(raw, 10.)
>
>>
> 2016-10-18 14:11 GMT+02:00 Lasse Balmer Hansen <s147490 at student.dtu.dk>:
>
>>
>> Hi,
>>
>> I'm trying to analyse data with no events (eyes closed, EEG) and I'm
>> trying to segment the data series into 10sec segments (named epochs in
>> my references). I tried the Epochs method but it requires events and I
>> can't find any other methods doing this.
>>
>> Is there any way to do this in mne? And if not, is there a way to
>> convert the data to the epoch-object from SciPy or will I have to do it
>> all in SciPy?
>>
>> Thanks,
>> Lasse
>> _______________________________________________
>> 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/20161019/00631805/attachment-0001.html 


More information about the Mne_analysis mailing list