<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Ana,<br>
<br>
inside and outside just describe whether the grid point is inside
or outside the brain. You can plot this to see for yourself:<br>
% plot only what is inside the brain<br>
figure;<br>
ft_plot_vol(vol, 'edgecolor', 'none'); alpha 0.4;<br>
ft_plot_mesh(grid.pos(grid.inside,:));<br>
<br>
% plot the whole grid<br>
figure;<br>
ft_plot_vol(vol, 'edgecolor', 'none'); alpha 0.4;<br>
ft_plot_mesh(grid.pos(:,:));<br>
<br>
FieldTrip will use that information automatically to only use grid
points inside the brain, so yes, you can use the whole grid to
compute the leadfield matrix. If you do not want that, you can
modify grid.inside and grid.outside yourself.<br>
<br>
Have fun fieldtrippin' :)<br>
Jörn<br>
<br>
On 6/28/2013 9:31 AM, Ana Sofía Hincapié Casas wrote:<br>
</div>
<blockquote
cite="mid:CAN+fi=zVBtweOXxwEWaHWnp1wKfDTXBXoUgeFgyoeVgQ=jCOxA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I´am new in FieldTrip and I would like to what are the
grid.inside and grid.outside points and if I could used the
whole grid to calculate the leadfields.<br>
<div>
<div><br>
</div>
<div>
Thanks in advance for the help you could bring me.</div>
</div>
<div><br>
</div>
<div style="">Regards,</div>
<div style=""><br>
</div>
-- <br>
Ana Hincapié</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>