<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<font size="4" class="">Hi Rowen,</font>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">Your question is a bit underspecified, so it’s hard to comment on this with specific hints/tips/tricks, so the best thing that you can get right now from the community is some very generic pointers.</font></div>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">In general, ft_sourceinterpolate is your friend if you want to interpolate the functional data onto the anatomical volume. However, the function does not ‘know’ about which part of the anatomical volume correspond to grey
 matter, so if you want to mask your interpolated functional data, you’d need to create a grey matter mask, using ft_volumesegment.</font></div>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">Best wishes,</font></div>
<div class=""><font size="4" class="">Jan-Mathijs</font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 3 Oct 2020, at 05:58, Yun Zhao <<a href="mailto:Yun.Zhao1@monash.edu" class="">Yun.Zhao1@monash.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello everyone,
<div class=""><br class="">
</div>
<div class="">As I'm new to fieldtrip, here is one of the problems I encountered recently. What I have is functional and anatomical data. The functional data is computed for each source point (I have the grid points' coordinates) and the anatomical data is
 MRI for every subject.</div>
<div class=""><br class="">
</div>
<div class="">What I want to do is interpolating the functional data to the grey matter of the anatomy. I have tried ft_sourceinterpolate but it doesn't seem the method has an option for interpolating things on grey matter only. </div>
<div class=""><br class="">
</div>
<div class="">I'm wondering if someone knows how to achieve this. Or I'd try DIY. Thanks in advance.</div>
<div class=""><br class="">
</div>
<div class="">Kind regards,</div>
<div class="">Rowen</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>