<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear EEGLAB list members,<div class=""><br class=""></div><div class="">is it possible to delete segments of data for already epoched data?</div><div class=""><br class=""></div><div class="">I am trying to do a rather unconventional thing that, however, makes sense for my project. I have EEG data from an experiment where participants listened to sentences and I want to extract two different kinds of epochs (time locked to different points in the sentences). I first extracted epochs that are long enough to have all data points for both kinds of time-locking and used these epochs for ICA and artifact correction. These epochs are already time-locked to the first event of interest. The second event of interest occurs at different times in different epochs and I know how to shift the event markers so that I can time-lock to this second event.</div><div class=""><br class=""></div><div class="">However, I need to take a segment before the first event as the baseline. When I simply shift the events with different latencies in different trials its not straightforward to keep the baseline segment. So I was thinking that the easiest way would be to just delete the data points between the first event and the second event so that the epoch goes from </div><div class=""><br class=""></div><div class="">data_pre-event1</div><div class="">event1</div><div class="">data_between_event1_and_event2</div><div class="">event2</div><div class="">data_post-event2</div><div class=""><br class=""></div><div class="">to</div><div class=""><br class=""></div><div class=""><div class="">data_pre-event1</div><div class="">event2</div><div class="">data_post-event2</div><div class=""><br class=""></div><div class="">The resulting epochs would then all be of the same length again (200 ms baseline and 1000 ms after event2).</div><div class=""><br class=""></div><div class="">I didn’t find any command that would accomplish this. Does anyone of you know how to cut out data points from epochs?</div><div class=""><br class=""></div><div class="">Unfortunately, subtracting the baseline before shifting the event triggers is not an option because I want to follow Alday’s recommendation of not subtracting the baseline but including it as a predictor in a regression model (<a href="https://arxiv.org/abs/1707.08152" class="">https://arxiv.org/abs/1707.08152</a>).</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Sebastian</div><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-----------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Dr. Sebastian Sauppe</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Department of Comparative Linguistics, University of Zurich</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Homepage: <a href="https://sites.google.com/site/sauppes/" class="">https://sites.google.com/site/sauppes/</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Twitter: <a href="https://twitter.com/SebastianSauppe" class="">@SebastianSauppe</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Google Scholar Citations: <a href="https://scholar.google.de/citations?user=wEtciKQAAAAJ" class="">https://scholar.google.de/citations?user=wEtciKQAAAAJ</a> </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">ResearchGate: <a href="http://www.researchgate.net/profile/Sebastian_Sauppe" class="">http://www.researchgate.net/profile/Sebastian_Sauppe</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">ORCID ID: <a href="http://orcid.org/0000-0001-8670-8197" class="">http://orcid.org/0000-0001-8670-8197</a></div></div>
</div>
<br class=""></div></body></html>