[FieldTrip] source grand average

נועה הכהן noa1hc at gmail.com
Tue Mar 20 06:33:21 CET 2018


!Thanks
:I tried to do this, and to used ft_sourcedescriptives but I got an error
message

Attempted to access sel(1); index out of bounds because numel(sel)=0.

Error in ft_sourceinterpolate>my_interpn (line 688)
  ft_progress(sel(1)/num, 'interpolating %.1f%%\n', 100*sel(1)/num);

Error in ft_sourceinterpolate (line 535)
    interp.inside( sel) = my_interpn(double(functional.inside), ax(sel),
ay(sel), az(sel), 'nearest', cfg.feedback);

Why?

thanks, Noa.



2018-03-19 23:25 GMT+02:00 Julian Keil <julian.keil at gmail.com>:

> Hi Noa,
>
> either use ft_sourceinterpolate to interpolate the grandaverage to a
> standard-MRI, or use the „surface“-option when plotting.
>
> Cheers,
>
> Julian
>
> ________________
> Prof. Dr. Julian Keil
>
> Biologische Psychologie
> Olshausenstraße 62 - R. 306
> 24118 Kiel
>
> 0431 / 880 - 4872
> http://www.biopsych.uni-kiel.de/
>
> Klinik für Psychiatrie und Psychotherapie
> der Charité im St. Hedwig-Krankenhaus
> Große Hamburger Straße 5-11
> 10115 Berlin
>
> 030 / 2311 - 1879
> www.multisensorymind.com
>
> Am 19.03.2018 um 21:51 schrieb ⁨נועה הכהן⁩ <⁨noa1hc at gmail.com⁩>:
>
> Hi all,
> I am working on source recognition. I used ft_sourcegrandavrage, but I
> could not plotting the results, because there is no 'anatomy' field. why is
> it happening?
>
> my code is-
> norm_source.pos=template_grid.pos
> norm_source.inside=template_grid.inside
> cfg.parameter          = 'pow'
> cfg.keepindividual     = 'yes'
> [grandavg] = ft_sourcegrandaverage(cfg, norm_source 1, norm_source 2)
>
> This generates a structure with the following fields:
>
> grandavg =
>
>          pow: [2x7109137 double]
>          coordsys: 'spm'
>          dim: [181 217 181]
>          inside: [6804x1 logical]
>          pos: [6804x3 double]
>          cfg: [1x1 struct]
>
>
> Thanks!
>
> Noa
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> בלי
> וירוסים. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180320/97356da0/attachment-0002.html>


More information about the fieldtrip mailing list