[FieldTrip] problem with dpss

Frederic Roux fredericroux at hotmail.de
Wed Mar 9 12:19:24 CET 2011


Dear JM,

thank you for the hint.
I was not aware of this thread in the faqs.

Removing the DC offset seems to solve the problem indeed.
It's funny though, that using

cfg.demean = 'yes';
data = preprocessing(cfg,data);

did not do the job.

I had to manually remove the DC with

data.trial{1} = data.trial{1} - mean(data.trial{1},2);

to get rid of the problem (see attached figure).
But maybe that's because the fieldtrip version I am using is outdated?

In any case, many thanks for the fast and efficient help.

Frederic

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110309/67ca6352/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codecheck3.jpg
Type: image/jpeg
Size: 113989 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110309/67ca6352/attachment-0001.jpg>


More information about the fieldtrip mailing list