[Eeglablist] warp montage in co-registration of DIPFIT fails

Arnaud Delorme arno at ucsd.edu
Mon Mar 28 20:30:23 PDT 2011


Dear Agatha,

yes, this is due to a change in convention in Fieldtrip. But we have fixed it in the latest version of EEGLAB 9 and 10.
Best regards,

Arno

On Mar 28, 2011, at 5:13 PM, Agatha Lenartowicz wrote:

> Hi all - I am having very basic issues with DIPFIT, specifically with the "warp" automatic rotation option. In short it fails - and it does not seem to be a FT problem so much as a problem with the structures passed b/w scripts.
> 
> The warping fails at line 166 of ft_electroderealign.m as follows - this occurs b/c the code doesn't like the assignment of the output of ft_convert_units into template(i). 
> 
> ERROR:
> ??? Subscripted assignment between dissimilar structures.
> Error in ==> ft_electroderealign at 166
>    template(i) = ft_convert_units(template(i), elec.unit); % ensure that the units are consistent with the electrodes
> 
> However if I hack this to get past this little error - the script fails later on b/c it can't see the "method" field in template variable (which does exist in the CFG variable, see below). 
> 
> ??? Error using ==> ft_electroderealign at 462
> unknown method
> 
> When I check what's in CFG variable at the start of the ft_electroderealign.m function I get the following... which looks ok.
> 
> cfg = 
> 
>             elec: [1x1 struct]
>         template: [1x1 struct]
>           method: 'traditional'
>          channel: {1x39 cell}
>         feedback: 'no'
>    casesensitive: 'yes'
>        headshape: []
>             warp: 'rigidbody'
>      trackconfig: 'off'
>      checkconfig: 'loose'
>        checksize: 100000
> 
> and within cfg.template:
> 
> cfg.template
> ans = 
> 
>      pnt: [346x3 double]
>    label: {1x346 cell}
> 
> 
> Any thoughts what's going on here? I suspect there is something wrong with how the template is created but  I am not sure where to dig.
> Many many thanks ~
> Agatha
> 
> 
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu





More information about the eeglablist mailing list