[Eeglablist] newtimef with a baseline that is 3 secs earlier (for 1sec) than the time-locking event
Francesco Marini
francesco.pd at gmail.com
Sat Dec 30 10:42:56 PST 2017
Hi Adam,
In this case you have three options:
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)
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)
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)
Let me know if you need help with #1 or #2. Unfortunately, I can't help
with #3.
Good luck,
Francesco
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#m_2198125162050838318_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Dec 28, 2017 at 11:25 AM, Aron, Adam <adamaron at ucsd.edu> wrote:
> Hi -
>
> 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.
>
> 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.
>
> I tried:
>
> * [erspTRIAL, itc, powbaseTRIAL, times, freqs, erspboot, itcboot,
> tfdataStand] = newtimef...*
> * (EEG_TRIAL.icaact(IC,:,:), EEG_TRIAL.pnts, [EEG_TRIAL.xmin
> EEG_TRIAL.xmax]*1000, EEG_TRIAL.srate, 0,...*
> * 'cycles', [3 0.5], 'tlimits', [-3000 2000], 'freqs', [4 30],
> 'timesout', 800,...*
> * 'baseline',[-3000 -2000],...*
> * 'plotitc', 'off', 'plotersp', 'off','padratio', 8);*
>
> and this ran at least, but gave me a garbage-looking figure.
>
> I expect this is partly about the *EEG_TRIAL.xmin EEG_TRIAL.xmax, *but I
> also want to know if, in principle, this approach can work,
>
> thanks
> -adam
>
> ---------------------------------------
> Adam R. Aron
> Professor, Department of Psychology
> University of California, San Diego
> Phone: 858 822 1096 <(858)%20822-1096> (office)
> www.aronlab.org
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
> sd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
--
Francesco Marini, Ph.D.
Postdoctoral Research Associate
University of Nevada Reno
1667 N Virginia St, Reno, NV 89557
Personal website: fmarini.weebly.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20171230/868bdad4/attachment.html>
More information about the eeglablist
mailing list