<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi James and Makoto,<br>
<br>
I tried quickly clicking >> twice on the channel data scroll page
with three different datasets but did not see the error you described.
I don't think it is very likely to be the cause of the shift in my case
since I always use the > button to scroll through my data, also if
the display is refreshed after further interaction I don't think it
would result in the permanent shift which is still there after the data
is saved into new file.<br>
<br>
I also had another probably related problem after epoching the data. It
seemed that a rejection boundary marker was not recognized and as a
result the stretch of discontinuous data was treated as continuous and
included as a valid epoch (e.g.:
<a class="moz-txt-link-freetext" href="http://www.flickr.com/photos/89964745@N02/8363588406/in/photostream">http://www.flickr.com/photos/89964745@N02/8363588406/in/photostream</a>). I
ran James'
script to see if my event markers were shifted, but they did not seem
to be affected and the subject ERP also looked fine to me. Here's the
script that I used for the epoching:<br>
<blockquote><small>%%%%%epoch & baseline correction<br>
  <br>
EEG = pop_epoch(EEG, {'122', '121', '120', '220', '210', '200'}, ...<br>
[-0.15 1], 'savenew', 'BDF file resampled epochs', 'epochinfo','yes');<br>
EEG=pop_rmbase(EEG,[],[1:38]); %be sure to put a negative number for
the starting point of the baseline.<br>
EEG=eeg_checkset(EEG);<br>
v = [EEG.event.epoch];<br>
allepochs = v(end);<br>
  <br>
%%%%%%reject<br>
EEG = pop_jointprob(EEG,1,PROB,PROB,0,0);<br>
EEG = eeg_rejsuperpose( EEG, 1, 1, 1, 1, 1, 1, 1, 1);<br>
EEG = pop_rejepoch(EEG, find(EEG.reject.rejglobal), 0);<br>
v = [EEG.event.epoch];<br>
cleanedepochs = v(end);<br>
  </small></blockquote>
Thank you.<br>
<br>
Regards,<br>
Maria<br>
   <br>
<br>
<blockquote cite="mid:50EBC5D8.1010806@nus.edu.sg" type="cite">   <br>
  <br>
On Tuesday 08,January,2013 01:45 AM, Makoto Miyakoshi wrote:
  <blockquote
 cite="mid:CAEqC+SW_pWZDD6tSn0pBXkLQ=-WJj4g6GRDCEJ8v1AgaVLSjmA@mail.gmail.com"
 type="cite">Dear James,
    <div><br>
    </div>
    <div>Ah, that makes sense.</div>
    <div><br>
    </div>
    <div>Makoto<br>
    <br>
    <div class="gmail_quote">2013/1/7 James Desjardins <span dir="ltr"><<a
 moz-do-not-send="true" href="mailto:jdesjardins@brocku.ca"
 target="_blank">jdesjardins@brocku.ca</a>></span><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div style="word-wrap: break-word;">
      <div style="direction: ltr; font-size: 10pt; font-family: Tahoma;">
      <div style="direction: ltr; font-size: 10pt; font-family: Tahoma;"><font>Hi
Maria,<br>
      <br>
I just came across a bug in the eegplot function that may account for
the shifted rejection boundaries you reported finding while scrolling
through your continuous data.<br>
      <br>
If the paging buttons { [ << ] or [ >> ]} are quickly
clicked twice it can happen that the signals will advance two windows,
while the events will only advance 1 window (e.g. if you are displaying
50 seconds at a time and the current window starts at 100 seconds...
then you double click [ >> ] quickly, the figure will display the
signals from 200 to 250 seconds but the events that will be
superimposed are the events for the time period of 150 to 200 seconds).<br>
      <br>
This is a relatively harmless bug as it is only display... any further
interaction with the GUI (including selecting time for rejection)
refreshes the figure and the offset is corrected.<br>
      <br>
Let me know if this could account for all of the symptoms that you
found while scrolling your continuous data.<br>
      <br>
I have reported this in EEGLab bugzilla (#1393) and will look into
solving the issue over the next few days.<br>
      <br>
James</font>
      <div style="font-size: 16px; font-family: Times New Roman;">
      <hr>
      <div>
      <div class="h5">
      <div><br>
      <div>
      <div>
      <div>On 18 Nov 2012, at 20:07, Maria Teresa Wijaya wrote:</div>
      <br>
      <blockquote type="cite">
        <div>Dear Makoto,<br>
        <br>
I recorded my data using Biosemi Active two system with 64 electrodes
at <br>
256Hz. Data were band pass filtered at 0.1-20 Hz and re-referenced <br>
offline first to nose reference to remove bad channels. Removed
channels <br>
were interpolated and the data were re-referenced to average reference.
        <br>
I then checked the continuous data for non-typical artifacts, removed <br>
them, and saved the data with a new name. The shifted rejection <br>
boundaries problem appeared in this new data set.<br>
        <br>
Kindly let me know if I need to provide any other information.<br>
        <br>
Thank you.<br>
        <br>
Regards,<br>
Maria<br>
        <br>
        <br>
        <br>
On Saturday 17,November,2012 01:33 PM, Makoto Miyakoshi wrote:<br>
        <blockquote type="cite">Dear Maria,<br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite">We need more information to identify
what
caused this.<br>
        </blockquote>
        <blockquote type="cite">Could you tell me more detail?<br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite">Makoto<br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite">2012/11/12 Maria Teresa Wijaya<<a
 moz-do-not-send="true" href="mailto:a0089301@nus.edu.sg"
 target="_blank">a0089301@nus.edu.sg</a>>:<br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">Dear list,<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">I did rejection on continuous data
and
noticed that the rejection<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">boundaries shifted from where they
are
supposed to be (picture here:<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><a moz-do-not-send="true"
 href="http://www.flickr.com/photos/89964745@N02/8178303896/in/photostream"
 target="_blank">http://www.flickr.com/photos/89964745@N02/8178303896/in/photostream</a>).<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">This happened to several of my
subjects, and it also happened to someone<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">else in our lab before. My questions
are:<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">- What are the possible reasons of
this
shift?<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">- Is there any way I can know if any
of
my event triggers have also been<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">shifted or if only the rejection
boundaries are shifted?<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">Thank you for your help.<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">Regards,<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">Maria<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">_______________________________________________<br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">Eeglablist page: <a
 moz-do-not-send="true"
 href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">To unsubscribe, send an empty email
to <a moz-do-not-send="true"
 href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite">For digest mode, send an email with
the
subject "set digest mime" to <a moz-do-not-send="true"
 href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite">
          <blockquote type="cite"><br>
          </blockquote>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <blockquote type="cite"><br>
        </blockquote>
        <br>
_______________________________________________<br>
Eeglablist page: <a moz-do-not-send="true"
 href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a moz-do-not-send="true"
 href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a
 moz-do-not-send="true" href="mailto:eeglablist-request@sccn.ucsd.edu"
 target="_blank">
eeglablist-request@sccn.ucsd.edu</a><br>
        </div>
      </blockquote>
      </div>
      <br>
      </div>
      </div>
      </div>
      </div>
      </div>
      </div>
      </div>
      </div>
    </blockquote>
    </div>
    <br>
    <br clear="all">
    <div><br>
    </div>
-- <br>
Makoto Miyakoshi<br>
JSPS Postdoctral Fellow for Research Abroad<br>
Swartz Center for Computational Neuroscience<br>
Institute for Neural Computation, University of California San Diego<br>
    </div>
  </blockquote>
  <br>
</blockquote>
<br>
</body>
</html>