It is possible, first you need a cortical-only cifti file to use as a
template, if you don't have one, you can make one from the original ROI
files.  The files are in the pipelines repo:

https://github.com/Washington-University/Pipelines/tree/master/global/templates/91282_Greyordinates

Use this command to make a template:

wb_command -cifti-create-dense-scalar corticalonly_template.dscalar.nii
-left-metric L.atlasroi.32k_fs_LR.shape.gii
-roi-left L.atlasroi.32k_fs_LR.shape.gii -right-metric
R.atlasroi.32k_fs_LR.shape.gii -roi-right R.atlasroi.32k_fs_LR.shape.gii

Once you have a file like this, you can use
-cifti-create-dense-from-template to strip the subcortical data from other
cifti files:

wb_command
-cifti-create-dense-from-template corticalonly_template.dscalar.nii
<cortical output cifti> -cifti <grayordinate input cifti>

If you need the timing information, you will need to manually respecify it
with the -series option (otherwise you will get a dscalar file as output).

Tim


On Thu, Jan 18, 2018 at 9:56 AM, Xavier Guell Paradis <[email protected]>
wrote:

> Dear HCP experts,
> Is it possible to create a dtseries file that contains only cerebral
> cortical surface data? I only need this file in order to use it as a
> template for a python script, so the file could be any existing dtseries
> file restricted to contain only cerebral cortical surface data.
>
> I have been using a random cope1.dtseries.nii file, and tried to eliminate
> all data not corresponding to cerebral cortical surface data. I have been
> exploring several workbench commands, but cannot figure it out.
>
> Thank you,
> Xavier.
>
> _______________________________________________
> HCP-Users mailing list
> [email protected]
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to