Re: [HCP-Users] How to transform all subcortical values to 0 in a dscalar?

2017-10-09 Thread Timothy Coalson
You could also make a cortical-only version of the cifti file. -cifti-separate will give you the cortical data, and the medial wall excluding ROIs, which you can then use in -cifti-create-dense-scalar to re-form them into a dscalar file. You could instead make a cortical-only template cifti

Re: [HCP-Users] How to transform all subcortical values to 0 in a dscalar?

2017-10-09 Thread Xavier Guell Paradis
Dear Tim, Thank you for your reply. I wanted the subcortical data to be 0 so that it would not interfere with some math operations I wanted to perform using cortical data only, but I agree with your idea that this is not the optimal approach (plus the 0's would still affect some of the math

Re: [HCP-Users] How to transform all subcortical values to 0 in a dscalar?

2017-10-04 Thread Timothy Coalson
You can use -cifti-replace-structure with the -volume-all option and a volume file of zeroes. If you have a lot of maps (or you want to do something similar to a long dtseries), you can make a cifti file with 1's in the surfaces and 0's in voxels, and use -cifti-math to multiply them together.

[HCP-Users] How to transform all subcortical values to 0 in a dscalar?

2017-10-04 Thread Xavier Guell Paradis
Dear HCP experts, I have a dscalar file with one map of cortical and subcortical data. I would like to transform all subcortical values to 0, and leave the cortical surface values intact. I have explored the -cifti-stats and -volume-stats options as well as -cifti-create-dense-scalar but cannot