[FieldTrip] ft_sensorrealign error

Paul Sowman paul.sowman at mq.edu.au
Fri May 11 06:01:16 CEST 2012


Hi, I am trying to use ft_sensorrealign to align my Yokogawa data. i am
getting this error:

sens2 = ft_sensorrealign(cfg, sens)
using the fiducials instead of the sensor positions
Warning: could be Yokogawa system
> In forward/private/warning_once at 75
  In ft_senstype at 280
  In utilities/private/channelposition at 46
  In ft_datatype_sens at 107
  In ft_sensorrealign at 235
converting units from 'mm' to 'cm'
??? Subscripted assignment between dissimilar structures.

Error in ==> ft_sensorrealign at 236
    tmp(i) = ft_convert_units(template(i), elec.unit); % ensure that the
units are consistent with the
    electrodes

I have attached variable template and elec.

Secondly, I presume also that I can only use 3 of the 5 fiducial markers?
as line 395 has length(cfg.fiducial)~=3. I don't think this is causing the
above issue though. Thanks, Paul

-- 
Paul F Sowman
NHMRC Postdoctoral Training Fellow
Macquarie Centre for Cognitive Science (MACCS)
MACQUARIE UNIVERSITY NSW 2109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120511/0d11eb8b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elec_original.mat
Type: application/octet-stream
Size: 10870 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120511/0d11eb8b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template.mat
Type: application/octet-stream
Size: 10870 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120511/0d11eb8b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elec.mat
Type: application/octet-stream
Size: 10870 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120511/0d11eb8b/attachment-0002.obj>


More information about the fieldtrip mailing list