<div dir="ltr"><div class="gmail_default" style="color:#333399">HI Augstin. here are notes for you below, best wishes.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">**************NOTES for AGUSTIN****************************<br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">First off, make sure you are attempting all steps and checks fully from the gui, to begin with. That includes all the steps listed further below. </div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Also, it is important to make sure you tried all this eeglab tutorial data already, following eeglab tutorial steps, and that you had success, Using the egelab tutorial data as a proof-of-concept and practice is important for people new to eeglab.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Please following up after reviewing the below, so that other users on the list can learn from your experiences.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">You're probably doing the steps incorrectly, or there is something wrong with you matlab/eeglab setup.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Look in urevents field of the EEG structure, there are usually a "start boundary and end boundary there.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">However in the normal events structure, after properly rejecting a period of data, there should be just one boundary event,</div><div class="gmail_default" style="color:#333399">See the online tutorials on visual rejection if you have not already. See also the events structure and processing tutorials.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Try also the following in a specific sequence. All steps should be done via GUI.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">1. Open a new .set file (preferably one of the eeglab tutorial files).</div><div class="gmail_default" style="color:#333399">2. View the data in continuous mode.</div><div class="gmail_default" style="color:#333399">3. Select one portion of data that you want to reject (any period, make it ~10 seconds, for example)</div><div class="gmail_default" style="color:#333399">4. Click the reject button in the GUI of the continuous EEG plot.</div><div class="gmail_default" style="color:#333399">It is important here to make sure the rejection actually happens.</div><div class="gmail_default" style="color:#333399">5. Make sure that the EEG structure in matlab is updated.</div><div class="gmail_default" style="color:#333399">6. Save the dataset with a new name.</div><div class="gmail_default" style="color:#333399">7. Clear all datasets from eeglab.</div><div class="gmail_default" style="color:#333399">8. Load up the file you saved.</div><div class="gmail_default" style="color:#333399">9. Plot the continuous data. Confirm or disconfirm that you see a boundary event where the period you deleted used to be.</div><div class="gmail_default" style="color:#333399">If you delete/reject two different periods you should see two boundary events.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Note that you You need to select and "make sure it's rejected" (not just assume,,,,so check that the whole data got shorter in the eeglab gui after your rejection...did it decrease by the amount of time you rejected ?</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Also, try be more clear about exactly where you looking when you look for the "events". Best way for you is via both "plot conitnuous data" and also via the Edit > Events GUI. </div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">If you select one period, and also select a second period, and then reject both those periods, you should end up with two boundary events, one for the first selection, and one for the second selection. I am pretty sure you are just not rejecting or saving/updating correctly, otherwise you would see the boundary events created by the rejection of periods. This is something that works normally and very smoothly, you should not be having this issue. </div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Note that This may be a bug, and if you find no solution and it is replicable, then you should report it to eeglab bugzilla.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">In future sendouts, send pics and possibly the file itself that you are working with,</div><div class="gmail_default" style="color:#333399">Also send screenshots of your steps.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 17, 2017 at 10:52 AM, Agustín Solano <span dir="ltr"><<a href="mailto:asolano@bioingenieria.edu.ar" target="_blank">asolano@bioingenieria.edu.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Tarik,<div><br></div><div>I followed your recommendation bue I am still not having what I think I should have.</div><div><br></div><div>I loaded a dataset without any boundary event and then selected in the GUI a portion of data, for example, points [10000 100000]. If I do that I think eeglab should insert two events, one at the beginning and other to the end, because I should be able to track if any data has been rejected. Is that right? But when I do that no events are inserted.</div><div><br></div><div>On the other hand, if I select two portions of data, I get an event corresponding to the rejected data between the two portions.</div><div><br></div><div>Maybe it is the way eeglab works but I am not sure I was clear at my first question.</div><div>Thanks again!</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-10-15 1:10 GMT-03:00 Tarik S Bel-Bahar <span dir="ltr"><<a href="mailto:tarikbelbahar@gmail.com" target="_blank">tarikbelbahar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="color:#333399">Hello Agustin.  </div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">don't worry, one should be having no problem with this, rejecting of continuous works smoothly in eeglab.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">First reject the periods (pressing okay/reject in the GUI) and then make sure the file gets updated in memory (review eegh output after you do the rejection). Then reopen and view the continuous data. Do you see the boundary break events now ?</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Look into ur.epochs part of the EEG structure, which should contain start and end times for boundaries. I believe you can google tutorial information on urevent fields, etc...</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">You should see the boundary breaks. Make sure to test this all with the GUI first, and if you are trying to use code instead of the gui, review the eegh output after various steps.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399">Let us know of your progress.</div><div class="gmail_default" style="color:#333399"><br></div><div class="gmail_default" style="color:#333399"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4817504217865534021h5">On Fri, Oct 13, 2017 at 1:13 PM, Agustín Solano <span dir="ltr"><<a href="mailto:asolano@bioingenieria.edu.ar" target="_blank">asolano@bioingenieria.edu.ar</a>></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="m_-4817504217865534021h5"><div dir="ltr">Dear community,<div><br></div><div>I am working woth continuous sleep data. I have to Select Data corresponding to different sleep stages and I need to track changes. Doing some tests I realized that if I select a portion of continuos data I don't get the Boundaries Events at the begining and at the end of the selected portion (corresponding to the rejected data).</div><div><br></div><div>In matlab Command Window I see the output (for example):</div><div><br></div><div><div><i>  eeg_insertbound(): 2 boundary (break) events added.</i></div><div><i>  eeg_checkset note: upper time limit (xmax) adjusted so (xmax-xmin)*srate+1 = number of frames</i></div><div><i>  eeg_insertbound(): 2 boundary (break) events added.</i></div><div><i>  Creating a new ALLEEG dataset 3</i></div><div><br></div><div>But EEG.event is empty..</div><div><br></div><div>Any ideas? Am I missing something?</div><div>Thanks in advance.</div><span class="m_-4817504217865534021m_4809881779325191750HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-4817504217865534021m_4809881779325191750m_4321423505378301551gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2"><b>Bioing. Agustín Solano</b></font><br><font size="1">Instituto de Fisiología y Biofísica (IFIBIO) - Bernardo Houssay<br>Laboratorio de Fisiología de la Acción, Facultad de Medicina (UBA)<br>Paraguay 2155, Capital Federal<br>Buenos Aires, C1121ABG<br>Argentina<br>Tel: 54 11 5 950 9500 (2132)<br><a href="http://www.physiologyofactionlab.info" target="_blank">http://www.physiologyofactionl<wbr>ab.info</a></font><br></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4817504217865534021gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2"><b>Bioing. Agustín Solano</b></font><br><font size="1">Instituto de Fisiología y Biofísica (IFIBIO) - Bernardo Houssay<br>Laboratorio de Fisiología de la Acción, Facultad de Medicina (UBA)<br>Paraguay 2155, Capital Federal<br>Buenos Aires, C1121ABG<br>Argentina<br>Tel: 54 11 5 950 9500 (2132)<br><a href="http://www.physiologyofactionlab.info" target="_blank">http://www.<wbr>physiologyofactionlab.info</a></font><br></div></div></div></div>
</div>
</div></div></blockquote></div><br></div>