[FieldTrip] error when using ctf2grad (Lozano Soldevilla, D. (Diego))

Frank Mei frank.ye.mei at gmail.com
Sun Jun 2 03:58:29 CEST 2013


Hello Diego,

Thank you for the reply. I was using fieldtrip20120822.

I found the bug in the fieldtrip20120822 file -ft_read_header.m.
In line 446 of the file:

-------
if any(~cellfun(@isempty,strfind(coeftype, 'G1AR')))
-------

should be:

-------
if any(~cellfun(@isempty,strfind(coeftype, 'G3AR')))
-------


The bug is corrected in the latest version of fieldtrip, and it runs
correctly now.

Now, grad.balance has 'G1BR','G2BR','G3BR''G3AR' in it.

The ctf sytem I use is ctf151.

Regards,
Ye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130601/51cbdf66/attachment-0001.html>


More information about the fieldtrip mailing list