And now yours is much nicer and would probably be the better starting point for Tim…
Matt. From: Alexander Li Cohen <alexco...@gmail.com<mailto:alexco...@gmail.com>> Date: Wednesday, May 24, 2017 at 9:57 PM To: Matt Glasser <glass...@wustl.edu<mailto:glass...@wustl.edu>> Cc: Timothy Coalson <tsc...@mst.edu<mailto:tsc...@mst.edu>>, A Nunes <adonay.s.nu...@gmail.com<mailto:adonay.s.nu...@gmail.com>>, "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" <HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>> Subject: Re: [HCP-Users] create 2k space Oh interesting. Now I can't remember if I found that version and used it as a starting point. This was a couple of years ago. Regardless, either one should be able to make new templates to downscale or upscale as needed... -Alex On May 24, 2017, at 10:47 PM, Glasser, Matthew <glass...@wustl.edu<mailto:glass...@wustl.edu>> wrote: Looks pretty similar to this one that has been around for a few years. I had thought Tim Brown might have gotten a hold of it and changed it. Matt. From: Alexander Li Cohen <alexco...@gmail.com<mailto:alexco...@gmail.com>> Date: Wednesday, May 24, 2017 at 9:38 PM To: Matt Glasser <glass...@wustl.edu<mailto:glass...@wustl.edu>> Cc: Timothy Coalson <tsc...@mst.edu<mailto:tsc...@mst.edu>>, A Nunes <adonay.s.nu...@gmail.com<mailto:adonay.s.nu...@gmail.com>>, "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" <HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>> Subject: Re: [HCP-Users] create 2k space Well, this script I made from scratch with some experimentation, but I presume there's an in house version that does something similar... -Alex On May 24, 2017, at 10:35 PM, Glasser, Matthew <glass...@wustl.edu<mailto:glass...@wustl.edu>> wrote: Indeed, for some reason that script isn’t in the main HCP repo. Peace, Matt. From: Alexander Li Cohen <alexco...@gmail.com<mailto:alexco...@gmail.com>> Date: Wednesday, May 24, 2017 at 9:29 PM To: Matt Glasser <glass...@wustl.edu<mailto:glass...@wustl.edu>> Cc: Timothy Coalson <tsc...@mst.edu<mailto:tsc...@mst.edu>>, A Nunes <adonay.s.nu...@gmail.com<mailto:adonay.s.nu...@gmail.com>>, "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" <HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>> Subject: Re: [HCP-Users] create 2k space You could take a look at this code and adapt as needed: https://github.com/alexlicohen/script-toolbox/blob/master/CreateNewTemplateSpace.sh -Alex On May 24, 2017, at 2:49 PM, Glasser, Matthew <glass...@wustl.edu<mailto:glass...@wustl.edu>> wrote: Probably also would need wb_command -surface-create-sphere to actually make the 2K space. Peace, Matt. From: <hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>> on behalf of Timothy Coalson <tsc...@mst.edu<mailto:tsc...@mst.edu>> Date: Wednesday, May 24, 2017 at 1:43 PM To: A Nunes <adonay.s.nu...@gmail.com<mailto:adonay.s.nu...@gmail.com>> Cc: "hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>" <HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>> Subject: Re: [HCP-Users] create 2k space For resampling just the surface (just the coordinates, no functional data), the command is -surface-resample. There is also -metric-resample and -label-resample for single-hemisphere format data files (for functional data, myelin maps, etc), which are likely to be more useful for creating a template cifti file. You can create a template cifti file using -cifti-create-dense-scalar, once you have the medial wall ROIs and volume resolution/structures worked out for your desired cifti space. 4k vertices is already very low, and is missing a lot of cortical detail. If the reason for doing this is a data reduction, you might try using parcellation instead (-cifti-parcellate), where it ideally groups vertices by function (the HCP MMP 1.0 has 180 areas per hemisphere), and doing less mixing of different functions than a simple downsampling. Tim On Wed, May 24, 2017 at 12:44 PM, A Nunes <adonay.s.nu...@gmail.com<mailto:adonay.s.nu...@gmail.com>> wrote: HI HCP MEG dataset provides surfaces with 4k vertices, I would like to resample it to 2k. I have tried wd_command -cifti-resample, but it requires a cifti-template, but i don't have any cifti of 2k. What commands should I use to get a 2k surface for every subject? Thanks _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org> http://lists.humanconnectome.org/mailman/listinfo/hcp-users _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org> http://lists.humanconnectome.org/mailman/listinfo/hcp-users <CreateNewTemplateSpace.sh> _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users