[FieldTrip] sourceplot - beamforming
Davide Rivolta
drivolta81 at gmail.com
Wed Nov 9 12:49:18 CET 2011
Dear Jan-Mathijs,
Thank you for your email.
I have done as you said. I ran ft_volumereslice.
As you can see from the piture (source2) I get something really weird.
I am using the correct cfg.dim, however I am not sure about the
cfg.resolution. Where can I pick the correct value? In the case of the
picture I used 1.
After this, I run ft_sourceinterpolate and then ft_sourceplot.
Is this the correct sequence?
Source1 represents the source before running ft_volumereslice.
Thanks for the advice,
Davide
On Tue, Nov 8, 2011 at 10:58 AM, jan-mathijs schoffelen <
jan.schoffelen at donders.ru.nl> wrote:
> 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
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
--
Davide Rivolta, PhD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111109/e90718d4/attachment-0002.html>
More information about the fieldtrip
mailing list