Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-25 Thread Bruce Fischl
no worries, I'm glad it worked out Bruce On Fri, 25 May 2018, Giulia Liberati wrote: External Email - Use Caution Hi Bruce, You are right. There was a silly bug in my plotting script which I managed to fix. So now everything is at its place! Thank you very much for your pa

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-25 Thread Giulia Liberati
External Email - Use Caution Hi Bruce, You are right. There was a silly bug in my plotting script which I managed to fix. So now everything is at its place! Thank you very much for your patience and support! Giulia 2018-05-25 15:52 GMT+02:00 Bruce Fischl : > Hi Giulia, > > n

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-25 Thread Bruce Fischl
Hi Giulia, no, that shouldn't be the case. You don't care about the RAS coordinates of the inflated vertex - only its index. Use the index to look up the corresponding vertex on another surface like white, then use its RAS coords. Should work for any spot in the brain. cheers Bruce On Fri, 2

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-25 Thread Giulia Liberati
External Email - Use Caution I will try to to show you an example of the issue, so it may be clearer. Let's say I have a contact in the left posterior insula with MNI coordinates -33, -12, 13. This corresponds to vertex 4983. RAS coordinates on a pial surface: -35.1280 -10.8052

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-24 Thread Giulia Liberati
External Email - Use Caution Thank you Bruce, Yes, this is what I did. Because the insular contacts are not in the insula anymore after I use the vertex to find the RAS coordinates for the inflated surface, my conclusion is that this only works with surface electrodes, not depth

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-24 Thread Douglas N. Greve
See this page to figure out how to get the scanner coords https://surfer.nmr.mgh.harvard.edu/fswiki/CoordinateSystems On 05/24/2018 05:21 PM, Bruce Fischl wrote: > Hi Giulia > > find the vertex index of the vertex you are interested in, then read > the surface whose RAS coordinates you want (e

Re: [Freesurfer] RAS coordinates for inflated surface

2018-05-24 Thread Bruce Fischl
Hi Giulia find the vertex index of the vertex you are interested in, then read the surface whose RAS coordinates you want (e.g. the white or pial) and lookup the RAS coords of the vertex at that index. cheers Bruce On Thu, 24 May 2018, Giulia Liberati wrote: External Email - Use

[Freesurfer] RAS coordinates for inflated surface

2018-05-24 Thread Giulia Liberati
External Email - Use Caution Dear FreeSurfer experts, How can you obtain RAS coordinates for an inflated surface when you have vertex #? I am using the function read_surf('lh.inflated') to find the coordinates of some electrode contacts located in the left insula. However, when I