[FieldTrip] Brain-shift compensation Error
a.stolk8 at gmail.com
Wed Oct 31 07:23:37 CET 2018
One can only guess based on that error msg alone. You might want to put a
debug marker at line 156, check whether coord0 is truly empty, and then try
to trace back to what's causing it to be empty (e.g., an empty elecpos
field in your elec structure?).
On Tue, Oct 30, 2018 at 12:04 PM Ignasi Sols <ignasi.sols at nyu.edu> wrote:
> Dear all,
> I'm following the method developed by Stolk et al (2018) to localize the
> electrodes of ECoG data.
> I'm getting this error on step 23 (Project the electrode grids to the
> surface hull of the implanted hemisphere) and I can't solve it. Could
> anyone help me with this?
> *using electrodes specified in the configuration*
> *using warp algorithm described in Dykstra et al. 2012 Neuroimage PMID:
> *creating electrode pairs based on electrode positions*
> *Error using fmincon (line 241)*
> *You must provide a non-empty starting*
> *Error in warp_dykstra2012 (line 156)*
> *coord_snapped = fmincon(efun, coord0,*
> *, , , , , , cfun,*
> *Error in ft_electroderealign (line*
> * norm.elecpos =*
> warp_dykstra2012(cfg, elec,
> Ignasi Sols
> Postdoctoral Fellow
> Department of Psychology
> New York University
> fieldtrip mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip