<div dir="ltr">Hi Adrien<div><br></div><div>You can select specific bins in your dataset and delete the rest. This is a kind of roundabout way, and there might be something more streamlined available, but in the past I've loaded the dataset with all of the bins, selected the bin that I wanted to isolate (e.g., bin 1) and deleted everything else. Then I reload the original dataset, select the next bin (e.g., bin 2) and delete everything else. In the end you would have 6 datasets for each subject (the orgininal and one for each bin) which I believe is what you want. </div><div><br></div><div><span style="font-size:12.8px"> To do thisI use pop_selectevent (in the GUI, edit>select epochs or events) and select the events you want to keep. If you type EEG.history after doing it once, you'll get the code for what you just did. You can use this to write a script and you can set up a loop to load the original dataset, select certain events, save the file, reload the orginal dataset and repeat.</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Hope this is helpful,</span></div><div><span style="font-size:12.8px">Brittany</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 11:08 AM, Adrien Martel <span dir="ltr"><<a href="mailto:amartel@tcd.ie" target="_blank">amartel@tcd.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">In my experiment there are 5 conditions and I created epochs for each so that I have now 30 datasets for the 30 subjects with a different amount of epochs with labels (1-5 for the conditions) (bin-based epoching with ERPLAB).</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I’m trying to get all the epochs belonging to 1 of the 5 conditions into 1 dataset so that the result is 5 datasets containing only epochs for each condition (without averaging because I would like to run a time-frequency analysis on each trial before averaging for each condition).</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">It’s quite simple I hope I haven’t made it confusing with my explanation.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">If I’m not mistaken it's not possible to obtain this by creating a study.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I would be very grateful for any help how to do this.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Best,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Adrien</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div><div> </div></div><br></div><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>