Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Timothy Coalson
. 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]

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Timothy Coalson
>> But how do I get coordinates of the subcortical structures. I code > >> snippet would be appreciated. > >> > >> Thank you, > >> Best, > >> Anand > >> > >> > >> From: Glasser, Matthew

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Anand A Joshi
@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

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Glasser, Matthew
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. >>>

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Demian Wassermann
___ >> 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

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Glasser, Matthew
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

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Anand A Joshi
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

Re: [HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Glasser, Matthew
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

[HCP-Users] Reading Human Connectome Project (HCP) *.dtseries.* file in Python

2017-08-01 Thread Anand Joshi
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