<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Elke and Arjen, <br>
      <br>
      Thanks a lot, it almost solved the problem (see figure). It looks
      better than before anyways, so I guess I could just do the
      finishing in Illustrator.<br>
      (Or can you tell from this figure that something is going wrong
      with the interpolation/projection?)<br>
      <br>
      Vitoria<br>
      <br>
      <img src="cid:part1.09070506.02070805@gmail.com" alt=""><br>
      <br>
      On 27-2-2014 9:19, Eelke Spaak wrote:<br>
    </div>
    <blockquote
cite="mid:CABPNLUp_yqwTcmabM94++wRyk2PCVMczc+Ge91xnHz8k4zTP9A@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi Vitória,

When you are calling ft_sourceinterpolate, you can call it with
different interpolation methods. I think the default is 'nearest',
which results in interpolated blocky figures. You can also specify
cfg.interpmethod = 'sphere_avg' or cfg.interpmethod = 'smudge', both
of which result in smoother interpolations.

Furthermore you can play around with the mask variable for plotting. I
guess you are now using the binary mask resulting from the output of
ft_sourcestatistics. You can also create a real-value mask based e.g.
on the statistical or relative values (which results in opacity being
ramped up according to effect size), and then apply the statistical
map to that. This would be something like the following:

tmp = int_stat.stat;
oldmask = int_stat.mask;
int_stat.mask = (tmp - min(tmp(:))) ./ (max(tmp(:)) - min(tmp(:))); %
set the new mask to range between 0 and 1
int_stat.mask(oldmask < 0.9) = 0; % mask out non-significant voxels

where int_stat is the result of ft_sourceinterpolate. Note that
because I used 'sphere_avg' interpolation in this case, the
interpolated mask will not be strictly binary anymore, hence the test
< 0.9, rather than == 1. (Also note that you should specify
cfg.opacitylim = [0 1] and cfg.opacitymap = 'rampup' when plotting
with a mask like the above.)

Does this do something like you want?

Best,
Eelke

On 26 February 2014 22:43, Stolk, A. (Arjen) <a class="moz-txt-link-rfc2396E" href="mailto:a.stolk@fcdonders.ru.nl"><a.stolk@fcdonders.ru.nl></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Vitoria,

I don't know whether you have done so already, but you could try and interpolate your source reconstructed activity on a high spatial resolution version of a brain (e.g. try the /template/anatomy/single_subj_T1_1mm.nii). Hope this helps,

Arjen


----- Oorspronkelijk bericht -----
</pre>
        <blockquote type="cite">
          <pre wrap="">Van: "Vitoria Piai" <a class="moz-txt-link-rfc2396E" href="mailto:v.piai.research@gmail.com"><v.piai.research@gmail.com></a>
Aan: <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
Verzonden: Woensdag 26 februari 2014 19:03:55
Onderwerp: [FieldTrip] tips for nice sourceplot using 'ortho'
Hi all,

Does anyone have some tips for getting a nice sourceplot using the
'ortho' method?
I'm using functional data masked by the stats results. I see a lot of
cerebellum activity as well as deeper sources, so a surface plot is
very
likely to be fooling me. I'm getting a very ugly figure, though,
because
of all the squares (activity and masks) bleeding outside of the skull
outline.
Anyone with experience on what works well to make that look nicer
(eg.,
in Illustrator)?

Thanks, Vitoria

_______________________________________________
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>
        <pre wrap="">
--
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen

Email:  <a class="moz-txt-link-abbreviated" href="mailto:a.stolk@donders.ru.nl">a.stolk@donders.ru.nl</a>
Phone:  +31(0)243 68294
Web:    <a class="moz-txt-link-abbreviated" href="http://www.arjenstolk.nl">www.arjenstolk.nl</a>
_______________________________________________
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>
      <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">-- 
Vitória Piai
PhD Candidate
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognition, Radboud University Nijmegen
Montessorilaan 3, B.02.30
6525 HR Nijmegen
The Netherlands

Email : <a class="moz-txt-link-abbreviated" href="mailto:V.piai@donders.ru.nl">V.piai@donders.ru.nl</a>
Phone : +31 24 3612635
<a class="moz-txt-link-abbreviated" href="http://www.vitoriapiai.com">www.vitoriapiai.com</a></pre>
  </body>
</html>