<div dir="ltr">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.<div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 8:12 AM, Mikołaj Magnuski <span dir="ltr">&lt;<a href="mailto:mmagnuski@swps.edu.pl" target="_blank">mmagnuski@swps.edu.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="m_6188979213652249095markdown-here-wrapper"><p style="margin:0px 0px 1.2em!important">You could also use <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">_segment_raw</code> which works like this:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="m_6188979213652249095hljs m_6188979213652249095language-python" style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)"><span class="m_6188979213652249095hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">from</span> mne.epochs <span class="m_6188979213652249095hljs-keyword" style="color:rgb(51,51,51);font-weight:bold">import</span> _segment_raw
epochs = _segment_raw(raw, <span class="m_6188979213652249095hljs-number" style="color:rgb(0,128,128)">10.</span>)
</code></pre>
<div title="MDH:WW91IGNvdWxkIGFsc28gdXNlIGBfc2VnbWVudF9yYXdgIHdoaWNoIHdvcmtzIGxpa2UgdGhpczo8
ZGl2PmBgYHB5dGhvbjwvZGl2PjxkaXY+ZnJvbSBtbmUuZXBvY2hzIGltcG9ydCBfc2VnbWVudF9y
YXc8L2Rpdj48ZGl2PmVwb2NocyA9IF9zZWdtZW50X3JhdyhyYXcsIDEwLik8L2Rpdj48ZGl2PmBg
YDwvZGl2Pg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-10-18 14:11 GMT+02:00 Lasse Balmer Hansen <span dir="ltr">&lt;<a href="mailto:s147490@student.dtu.dk" target="_blank">s147490@student.dtu.dk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
I&#39;m trying to analyse data with no events (eyes closed, EEG) and I&#39;m<br>
trying to segment the data series into 10sec segments (named epochs in<br>
my references). I tried the Epochs method but it requires events and I<br>
can&#39;t find any other methods doing this.<br>
<br>
Is there any way to do this in mne? And if not, is there a way to<br>
convert the data to the epoch-object from SciPy or will I have to do it<br>
all in SciPy?<br>
<br>
Thanks,<br>
Lasse<br>
______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.e<wbr>du</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.e<wbr>du/mailman/listinfo/mne_analys<wbr>is</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/compli<wbr>anceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br>
</blockquote></div><br></div>

<br>
</div></div><hr><br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>