[FieldTrip] plotting dipoles on an anatomical mri
Robert Oostenveld
r.oostenveld at donders.ru.nl
Mon Jul 9 10:02:16 CEST 2012
Dear Imali
The ft_sourceplot function was not designed to plot 3D data in combination with dipoles. If you use method=ortho, you can get the 3 intersections in the 3D volume at the location of the dipole.
For the best control over the details of the plot, which you need for your specific application of combining dipoles and volumetric data, I suggest that you look at the ft_plot_slice function. If you do three ft_plot_slice calls for the three orientations (x,y,z) at the location of the dipole and combine that with ft_plot_dipole, you will probably visualize the 3D relation between the two types of data the clearest. Note that ft_plot_slice plots any slice in 3D, so you should use the 3D rotate option of the MATLAB figure.
best regards,
Robert
On 9 Jul 2012, at 9:26, IMALI THANUJA HETTIARACHCHI wrote:
> Dear fieldTrip users,
>
> I am doing a dipole fit with the ft_dipolefitting function and I can plot and visualize the results with ft_plot_dipole, further I also want to compare the results with a beamformer results so, I tried plotting the ft_dipolefitting results with ft_sourceplot. I cannot yet very well understand how ft_sourceplot works, I understand that the dipole should be assigned with some value but cannot figure out how to do this.
>
> Can someone please give me some help in doing this? Following is the code I am using, where should I modify?
>
> cfg = [];
> cfg.location = dip_fitted.dip.pos;
> cfg.method='ortho';
> ft_sourceplot(cfg,mri)
>
> where mri is the standard_mri.mat . I work in the MNI coordinates and my locations are in mm’s.
>
>
> Thank you very much in advance.
>
> Kind regards
> Imali
>
> Imali Thanuja Hettiarachchi
> PhD Candidate
> Centre for Intelligent Systems research
> Deakin University, Geelong 3217, Australia.
> Email: ith at deakin.edu.au
> www.deakin.edu.au/cisr
>
> <image001.jpg>
>
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120709/1fac7f48/attachment-0002.html>
More information about the fieldtrip
mailing list