<div dir="ltr">Hi,<div><br></div><div>thanks for your response. The problem is that the format of my raw data is not available in mne python and for this reason I created a 3d array for my epochs. So I don&#39;t have raw data.</div><div><br></div><div>Cheers,</div><div>Emanuela Liaci</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 2:43 PM, JR KING <span dir="ltr">&lt;<a href="mailto:jeanremi.king@gmail.com" target="_blank">jeanremi.king@gmail.com</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><div><div><div><div><div><div><div><div>Hi Emanuela,<br><br></div>We recommend not applying filter on epoched data, as the epochs edges generate important artifacts. Instead, you can apply filters on the raw data using raw.filter()<br></div><br></div>If you really want to apply in on epochs data, you can retrieve the data array, and pass it to mne.filter functions: e.g.<br><br></div>epochs_data = epochs.get_data()<br></div><div>low, high = 10., 30.<br></div>epochs_data_filt = mne.filter.band_pass_filter(<wbr>epochs_data, <a href="http://epochs.info" target="_blank">epochs.info</a>[&#39;sfreq&#39;], low, high)<br></div>epochs_filt = mne.EpochsArray(epochs_data_<wbr>filt, <a href="http://epochs.info" target="_blank">epochs.info</a>)<br><br></div>Hope that helps,<br><br></div>Best,<br><br></div>Jean-Rémi<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 10 August 2016 at 08:01, Emanuela Liaci <span dir="ltr">&lt;<a href="mailto:emanuela.liaci@gmail.com" target="_blank">emanuela.liaci@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>I have built my epochs with EpochsArray and I would like to apply a low-pass filter. But when I tried to do this:</div><div><br></div><div>epochs = mne.EpochsArray(ElectrodeArray<wbr>, info=info, baseline = (None, 0.04))<br></div><div>epochs.filter(l_freq=None, h_freq=25.0)</div><div><br></div><div>I get the error the following error: &quot;AttributeError: &#39;EpochsArray&#39; object has no attribute &#39;filter&#39;&quot;.</div><div><br></div><div>How can I solve this issue? </div><div><br></div><div>Many thanks,</div><div>Emanuela Liaci</div><div><br></div><div><br></div></div>
<br></div></div>______________________________<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>______________________________<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>