[FieldTrip] sourceplot - beamforming

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Tue Nov 8 10:58:40 CET 2011


Hi Davide,

Apart from putting your computer monitor upside down you could reslice your anatomy prior to doing the interpolation (using ft_volumereslice).

Best,

Jan-Mathijs
 
On Nov 7, 2011, at 12:37 PM, Davide Rivolta wrote:

>  
> Dear Fieldtrippers,
>  
> I have a question about ft_sourceplot (version 20111009).
>  
> I am following the tutorial on the reverse grid transformation (http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space?s[]=normalization).
>  
> I can get to the end of the script and try to plot the relative change in power of the stimulus condition again the baseline (visual task).
>  
> I have attached the figures I get from one subject only.
>  
> First of all, it is upside-down. Is it correct? How to change this?
>  
>  
> Here is the script I use:
>  
>     mri = ft_read_mri(mri_name);
>     cfg            = [];
>     cfg.downsample = 1;
>     sourceDiff.dim           = [17 20 17];
>     sourceDiff_Int  = ft_sourceinterpolate(cfg, sourceDiff , mri);
>   
>     cfg               = [];
>     cfg.method        = 'ortho';
>     cfg.funparameter  = 'avg.pow';
>     cfg.maskparameter = cfg.funparameter;
>     cfg.units         = 'mm';
>     cfg.opacitylim = [0.2 1.3];
>     ft_sourceplot(cfg,sourceDiff_Int);
>  
>  
>  
>  
>  
> This is the structure of sourceDiff_Int:
>  
> sourceDiff_Int =
>  
>        inside: [256x256x256 logical]
>           avg: [1x1 struct]
>           dim: [256 256 256]
>     transform: [4x4 double]
>       anatomy: [256x256x256 int16]
>      coordsys: 'ctf'
>          unit: 'mm'
>           cfg: [1x1 struct]
>  
>  
>  
> Thanks for the help,
>  
> Davide
> <ortho.jpg><slice.jpg>_______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Jan-Mathijs Schoffelen, MD PhD 
Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: +31-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111108/01473e8f/attachment-0002.html>


More information about the fieldtrip mailing list