Hi Alex,<div><br></div><div>Thanks for your response.  I am aware of the effect of discontinuities in data and was planning to make a note of where they occur and account for that in my analysis.  The data is a 2 minutes long recording of spontaneous activity to be more precise.  </div>
<div><br></div><div>Doing this through matlab works for me, but I just wanted to see if there was another way to do this type of analysis.</div><div><br></div><div>Thanks for your help!</div><div><br></div><div>Jonathan</div>
<div><br><div class="gmail_quote">On Wed, Jul 20, 2011 at 9:05 AM, Alexandre Gramfort <span dir="ltr">&lt;<a href="mailto:gramfort@nmr.mgh.harvard.edu">gramfort@nmr.mgh.harvard.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Avniel,<br>
<div class="im"><br>
&gt; Actually, we did an analysis of how problematic taking out data this way would be in Ghuman, McDaniel, and Martin NeuroImage 2011 and it turns out that it depends on the analysis.  If you end up doing a frequency domain analysis with wavelets, these edge effects get smoothed over pretty well, at least at higher frequencies (it depends on how large the chunks you cut out are, but with a generous window, this smoothing over is ok at frequencies &gt; 2 Hz).  I am guessing this is why Jonathan feels it is ok to do this (he is the McDaniel from that paper).<br>

<br>
</div>thanks for sharing your experience on this. To sum up, the answer is<br>
that it depends<br>
on what you do after with the data.<br>
<br>
to answer the initial question which was is there a build in way to do<br>
this, the answer is no.<br>
MNE unix commands cannot do this as far as I know and you need to use<br>
matlab or python<br>
to zero the artifact time segments.<br>
<br>
cheers,<br>
Alex<br>
<div><div></div><div class="h5"><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" target="_blank">http://www.partners.org/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>
<br>
</div></div></blockquote></div><br></div>