<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="">
Hi Xavier,
<div class=""><br class="">
</div>
<div class="">If the data object that fieldtrip uses for sourceplotting does not contain interpretable (for fieldtrip) information about the left/right orientation, fieldtrip will plot the data ‘as is’. If the volume is flipped in the box (e.g. left-handed
voxel coordinate system) the left side of the head ends up on the right side of the screen, and vice versa.</div>
<div class=""><br class="">
</div>
<div class="">Does the data object that you want to plot have a ‘coordsys’ field? If not, do you know what the interpetation of the coordinate axis are? Either way, you could use ft_determine_coordsys to check and change this. I expect that when you call ft_sourceplot
on the output of this ft_determine_coordsys, the image will be displayed in neurological convention.</div>
<div class=""><br class="">
</div>
<div class="">Good luck,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 4 Dec 2023, at 15:10, Xavier Job via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi all, </div>
<div class=""><br class="">
</div>
<div class="">I've noticed something strange in the tutorial "Analysis of auditory evoked fields in sensor and source space" (<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fieldtriptoolbox.org%2Ftutorial%2Fsalzburg%2F%23plot-the-result-in-parceled-brain-space&data=05%7C01%7Cfieldtrip%40science.ru.nl%7C50aec65b27894f964d2c08dbf63529e9%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638374480404570505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XVPdOlvH8%2B2DHCOyycmT4FAsLUwHsMI8GGAapnFwAIc%3D&reserved=0" originalsrc="https://www.fieldtriptoolbox.org/tutorial/salzburg/#plot-the-result-in-parceled-brain-space" shash="orDeJDUKy3qmgq2n+LBjPLmoEcw32hUUi6NS/IWioHSaf2qRfzw2IU6Va2Nm2Rfu9WTZbGh9dAAk87wNo51S3uobFFkmClOfxD3v0A0bzkfqdv4J7s9HxJNRc/IMwrpxsQncyp/4/cchNEWza0MAgS9NJmLsF4sMuGT9cHx8rDk=" originalsrc="https://www.fieldtriptoolbox.org/tutorial/salzburg/#plot-the-result-in-parceled-brain-space" shash="W80PkGoeNgz+yeLk/JKjcL5J2pbXFZdcftK8ttH49DUeZesTWtZ1sqkjLKXJZ6cdfBigskeP4E3Y4rRjsGvAXHVZH3OAM+L1k3kRH7KVnG2KcsyphQUvRnml2h96n5dsUEqBvgNVktxgwMLGeiOETvgo4yBbuDGyOYso4D0BJZY=" target="_blank" class="">https://www.fieldtriptoolbox.org/tutorial/salzburg/#plot-the-result-in-parceled-brain-space</a>). </div>
<div class=""><br class="">
</div>
<div class="">In the section "Localizing auditory evoked fields using beamforming techniques in parceled brain space", when plotting the source in parceled brain space, the left/right axis appears to be wrong. The atlas says 'Heschl L', but on the plot it's
the right hemisphere. When interactively clicking on different areas, all right hemisphere areas appear as left hemisphere labels and vice versa. </div>
<div class=""><br class="">
</div>
<div class="">I'm also trying to do this analysis on my own data and I get the same problem. When I plot the beamformer source activity evoked from a tactile stimulus delivered to the left hand, I get (largely) right SI which makes sense, but when plotting
in parceled brain space this flips to the other (left) hemisphere, which is definitely wrong. </div>
<div class=""><br class="">
</div>
<div class="">Perhaps there is a problem with which template file is used for interpolation in the tutorial? For parceled brain space, the source is first interpolated using the spm8 template (<i class="">~<span class="gmail-il">fieldtrip</span>/external/spm8/templates/T1.nii</i>),
but prior to that it was interpolated using another template brain (<i class="">~<span class="gmail-il">fieldtrip</span>/template/anatomy/single_subj_T1.nii</i>) for plotting in 'unparceled' space. </div>
<div class=""><br class="">
</div>
<div class="">Any help with this would be greatly appreciated!</div>
<div class=""><br class="">
</div>
<div class="">Best, <br class="">
Xavier </div>
<div class=""><br class="">
</div>
<span id="cid:ii_lpmttml40"><Screenshot 2023-12-01 at 17.15.46.png></span>
<div class="gmail-yj6qo"></div>
<div class="gmail-adL"><br class="">
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C01%7Cfieldtrip%40science.ru.nl%7C50aec65b27894f964d2c08dbf63529e9%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638374480404570505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XU6ZzStG12f7j3HnsGGH92W7myu%2BdKkXdDO43qL%2F5SM%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="q84izCnAdJ77RB+38Gl2VYose//n8UW7xEPcAiZ+c0ceyW2xF44S7t7+maEFIl7r26ntKoL004nixaYgo3SJZw58+vDQAcyYrNLJ0ptOo8eHMIiwVi7hdSV84Phwd6fNjUZaQ0ICm5ZLt2yEXsXGriN1iX75ov/OEAOHFcPz2fw=" 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>