<div dir="ltr"><div>Hi,<br><br></div><div>How long is the artifact? Probably you could use fix_stim_artifact for this: <a href="https://mne-tools.github.io/dev/generated/mne.preprocessing.fix_stim_artifact.html">https://mne-tools.github.io/dev/generated/mne.preprocessing.fix_stim_artifact.html</a><br></div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">or use decim parameter when epoching<br><br></div><div class="gmail_extra">Mainak<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 14, 2018 at 3:49 PM, Rockhill, Alexander P. <span dir="ltr">&lt;<a target="_blank" href="mailto:AROCKHILL@mgh.harvard.edu">AROCKHILL@mgh.harvard.edu</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">




<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Hi all,<br>
<br>
    I was wondering about the best way to resample data with a high-frequency TMS artifact. I first epoched the raw data so that the TMS events would be kept but when I resample the epochs, a low-pass filter is applied which makes sense but causes a large filter
 artifact from the TMS pulse. Is there any way to not apply this filter?<br>
<br>
Thanks,<br>
<br>
Alex<br>
</div>
</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 target="_blank" rel="noreferrer" href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis">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 target="_blank" rel="noreferrer" href="http://www.partners.org/complianceline">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></div></div></div>