[FieldTrip] ft_sourceplot stubbornly projects rays beyond the head

Tzvetan Popov tzvetan.popov at uni-konstanz.de
Fri Jan 8 19:08:49 CET 2021


Hi,
How about you remove the second input argument to ft_sourceplot? Leave only sourceint. 
Tzvetan 

> Am 1/8/21 um 18:52 schrieb mirek wyczesany <m.wyczesany at uj.edu.pl>:
> 
> 
> Hi all,
> 
> I encountered unresolvable issue with piloting sources onto the anatomy using ft_sourceinterpolate / ft_sourceplot. I'm pretty sure that the sources are properly estimated, with MRI, sourcemodel, headmodel and sensors aligned. They can be correctly visualized using ft_plotmesh function; moreover they nicely match with source estimation preformed in other software package. However all our attempts to visualize them onto brain anatomy failed.
> 
> This basic code (below) is used. It results in sources emitting rays reaching the edges of the image, far beyond the boundaries of the head. These visualisation are even intriguing, but I would really appreciate your help in fixing it. Actually I'm stuck with this since 2020... Thank you...!
> A sample image with a distorted source is here: 
> http://zpf.psychologia.uj.edu.pl/ft/ft_sourceplot.jpg
> 
> %% 
> 
> cfg            = [];
> cfg.parameter  = 'pow';
> sourceInt  = ft_sourceinterpolate(cfg, source , mri_itab_rars);
> 
> cfg              = [];
> cfg.method       = 'ortho';
> cfg.funparameter = 'pow';
> ft_sourceplot(cfg, sourceInt, mri_itab_rars);  
> 
> -- 
> Mirek Wyczesany
> Psychophysiology Lab
> Jagiellonian University
> Kraków, PL 
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210108/d2ed4610/attachment.htm>


More information about the fieldtrip mailing list