preprocessing question

Floris de Lange floris.delange at FCDONDERS.RU.NL
Mon Feb 7 11:17:06 CET 2005


Dear Fieldtrippers,

I get an error message in my first attempt to preprocess my first
dataset, so I'm probably having a true rookie problem here. If anyone
can point me to what might be wrong, that would be really nice however.
I get the following error message, while trying to remove artifacts from
my dataset:

identifying artifact-epochs
??? Error using ==> .*
Matrix dimensions must agree.

Error in ==> /home/common/matlab/fieldtrip/artifact_feedback.m
(convolve_suprathreshold)
On line 91  ==> datind = round(real(ifft(fftdat.*fftkrn,fftsmp)));

Error in ==> /home/common/matlab/fieldtrip/artifact_feedback.m
On line 31  ==> [artifact,rejectall] =
convolve_suprathreshold(cfg,artfctdef,z_tdata,hdr.Fs);

Error in ==> /home/common/matlab/fieldtrip/artifact_jump.m
On line 178  ==> [cfg.artfctdef.jump,artifact] = artifact_feedback(cfg,
z_tdata, artfctchn,'jump');

Error in ==> /home/common/matlab/fieldtrip/rejectartifact.m
On line 229  ==>   eval(sprintf('[cfg, %s] = artifact_%s(cfg);',
cfg.artfctdef.type{type}, cfg.artfctdef.type{type}));

Error in ==> /home/common/matlab/fieldtrip/preprocessing.m
On line 242  ==> [cfg] = rejectartifact(cfg);

Error in ==> /home/action/flodlan/MIVI-MEG/20050201/preproc_taco.m
On line 38  ==> Taco_EF_stimlocked = preprocessing(cfg);  % puts the
preprocessed data in data-structure

Just for completeness, I attached the preproc_taco.m and trials_extract.m.

Many thanks for your help,

Cheers,
Floris

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trials_extract.m
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050207/7000832d/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: preproc_taco.m
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050207/7000832d/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: floris.delange.vcf
Type: text/x-vcard
Size: 318 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050207/7000832d/attachment-0001.vcf>


More information about the fieldtrip mailing list