<div dir="ltr">Hi Adam,<div><br></div><div>In this case you have three options:</div><div><br></div><div>1- time-lock to the beginning of the stimulus, baseline from -1000 to 0 and then shift your time axis of 2000ms (this requires the stimulus duration to be fixed)</div><div><br></div><div>2- use the complex numbers in tfdataStand, which are not baseline corrected, to extract the measure of choice (ersp/itc) and apply the baseline manually (this requires some minimal technical knowledge)</div><div><br></div><div>3- hire a grad student/postdoc who does the job for you (this requires the capacity of keeping a grad student/postdoc for longer than a few months)</div><div><br></div><div>Let me know if you need help with #1 or #2. Unfortunately, I can't help with #3.</div><div><br></div><div>Good luck,</div><div>Francesco</div><div><br></div><div><br></div><div><br></div><div id="m_2198125162050838318DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tbody><tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a>
                </td>
        </tr>
</tbody></table><a href="#m_2198125162050838318_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 28, 2017 at 11:25 AM, Aron, Adam <span dir="ltr"><<a href="mailto:adamaron@ucsd.edu" target="_blank">adamaron@ucsd.edu</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>
<div style="margin:0px;line-height:normal"><font size="4">Hi - </font></div>
<div style="margin:0px;line-height:normal"><font size="4"><br>
</font></div>
<div style="margin:0px;line-height:normal"><font size="4">I’m trying to do something a bit irregular with newtimef where I want at a baseline from earlier in the trial, not from the period immediately before the time-locking.</font></div>
<div style="margin:0px;line-height:normal"><font size="4"><br>
</font></div>
<div style="margin:0px;line-height:normal"><font size="4">My time-locking at time t=0 is to the END of a stimulus. But the stimulus is 2000 ms long. I want to time-lock to be at the end of the stimulus, but have the baseline be the 1000
 ms BEFORE the stimulus begins.</font></div>
<div style="margin:0px;line-height:normal"><span style="font-size:large"><br>
</span></div>
<div style="margin:0px;line-height:normal"><span style="font-size:large">I tried: </span></div>
</div>
<div style="margin:0px;line-height:normal"><font size="4"><br>
</font></div>
<div style="margin:0px;line-height:normal">
<div style="margin:0px;line-height:normal"><font size="4"><i>    [erspTRIAL, itc, powbaseTRIAL, times, freqs, erspboot, itcboot, tfdataStand] = newtimef...</i></font></div>
<div style="margin:0px;line-height:normal"><font size="4"><i>        (EEG_TRIAL.icaact(IC,:,:), EEG_TRIAL.pnts, [EEG_TRIAL.xmin EEG_TRIAL.xmax]*1000, EEG_TRIAL.srate, 0,...</i></font></div>
<div style="margin:0px;line-height:normal"><font size="4"><i>        'cycles', [3 0.5], 'tlimits', <b>[-3000 2000]</b>, 'freqs', [4 30], 'timesout', 800,...</i></font></div>
<div style="margin:0px;line-height:normal"><font size="4"><i>        'baseline',<b>[-3000 -2000]</b>,...</i></font></div>
<div style="margin:0px;line-height:normal"><font size="4"><i>         'plotitc', 'off', 'plotersp', 'off','padratio', 8);</i></font></div>
</div>
<div style="margin:0px;line-height:normal"><br>
</div>
<div style="margin:0px;line-height:normal"><span style="font-size:large">and this ran at least, but gave me a garbage-looking figure.</span></div>
<div style="margin:0px;line-height:normal"><span style="font-size:large"><br>
</span></div>
<div style="margin:0px;line-height:normal"><span style="font-size:large">I expect this is partly about the </span><i>EEG_TRIAL.xmin EEG_TRIAL.xmax, </i><font size="4">but I also want to know if, in principle, this approach
 can work,</font></div>
<div style="margin:0px;line-height:normal"><font size="4"><br>
</font></div>
<div style="margin:0px;line-height:normal"><font size="4">thanks</font></div>
<div style="margin:0px;line-height:normal"><font size="4">-adam</font></div>
<div style="margin:0px;line-height:normal"><br>
</div>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;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">
------------------------------<wbr>---------<br>
Adam R. Aron<br>
Professor, Department of Psychology<br>
University of California, San Diego<br>
Phone: <a href="tel:(858)%20822-1096" value="+18588221096" target="_blank">858 822 1096</a> (office)<br>
<a href="http://www.aronlab.org" target="_blank">www.aronlab.org</a></div>
</div>
</div>
</div>
<br>
</div>

<br>______________________________<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><br clear="all"><div><br></div>-- <br><div class="m_2198125162050838318gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><div>Francesco Marini, Ph.D.<br></div>Postdoctoral Research Associate</div><div style="font-size:12.8px">University of Nevada Reno</div><span style="font-size:12.8px">1667 N Virginia St, Reno, NV 89557</span><br></div><div><span style="font-size:12.8px">Personal website: <a href="http://fmarini.weebly.com" target="_blank">fmarini.weebly.com</a></span></div></div></div></div>
</div></div>