[FieldTrip] Help with Spike/LFP Tutorial Issue

Anon ymous randomguy3167 at yahoo.com
Thu May 12 20:54:00 CEST 2016


Hello Fieldtrip Community,
I do realize this is probably really basic, but I was following the tutorial on analyzing spike and LFP data: http://www.fieldtriptoolbox.org/tutorial/spikefield. I've followed the tutorial almost exactly (with inconsequential changes) using the sample data provided in the tutorial. 
It all works except for the STA plot for pre-stimulus. I get the correct plot as shown in the tutorial for my post-stimulus plot but then for some reason get the same thing for my pre-stimulus plot, which doesn't make sense.
I have no idea what is causing this. The only differences I see between the two are the cfg.latency settings and all else is the same.
     pre: cfg.latency = [-2.75 0];     post: cfg.latency = [0.3 10];
I've attached my script (as it is small) for reference. The plots and sample data are in the tutorial.
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160512/4ab297c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Preprocessing.m
Type: application/octet-stream
Size: 2575 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160512/4ab297c5/attachment-0001.obj>


More information about the fieldtrip mailing list