. I code snippet
> would be appreciated.
>
> Thank you,
> Best,
> Anand
>
>
> From: Glasser, Matthew
> Sent: Tuesday, August 1, 2017 11:07:53 AM
> To: Anand Joshi; hcp-users@humanconnectome.org
> Subject: Re: [HCP-Users]
>> But how do I get coordinates of the subcortical structures. I code
> >> snippet would be appreciated.
> >>
> >> Thank you,
> >> Best,
> >> Anand
> >>
> >>
> >> From: Glasser, Matthew
@humanconnectome.org
Subject: Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.*
file in Python
Hi Anand,
as one of the guys who helped with the *first* implementation of CIFTI in
nibabel I can tell you that you need to navigate the header yourself. We went
for a first implementation which can
get it in Matlab (see below), but not in Python. I
>>> can read cifti image in python.
>>>
>>> f=image.load_img(filename)
>>>
>>> But how do I get coordinates of the subcortical structures. I code
>>> snippet would be appreciated.
>>>
___
>> From: Glasser, Matthew
>> Sent: Tuesday, August 1, 2017 11:07:53 AM
>> To: Anand Joshi; hcp-users@humanconnectome.org
>> Subject: Re: [HCP-Users] Reading Human Connectome Project (HCP)
>> *.dtseries.* file in Python
>>
>> Fo
hew
>Sent: Tuesday, August 1, 2017 11:07:53 AM
>To: Anand Joshi; hcp-users@humanconnectome.org
>Subject: Re: [HCP-Users] Reading Human Connectome Project (HCP)
>*.dtseries.* file in Python
>
>For the volume structures these are in the CIFTI header, however for the
>surfaces t
From: Glasser, Matthew
Sent: Tuesday, August 1, 2017 11:07:53 AM
To: Anand Joshi; hcp-users@humanconnectome.org
Subject: Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.*
file in Python
For the volume structures these are in the CIFTI header, however
For the volume structures these are in the CIFTI header, however for the
surfaces there are no veridical xyz coordinates, it all depends on the
surface model you are using. In general we recommend only using 3D
coordinates of individual subject¹s midthickness surfaces (or in special
circumstances
I am trying to read .dtseries. grayordinate files from the human
connectome project. I am using nilearn.image which is based on
nibabel.
f=image.load_img(filename)
Now I want .pos filed from this file. I can get it in Matlab using:
v=ft_cifti_read(filename) v.pos
But nibabel does not create thi