External Email - Use Caution
Hello FreeSurfer Team,
I've made a New Year's resolution to stop bothering Andrew Hoopes and instead send my questions to the FreeSurfer Mailing List.
I would like to calculate a single average waveform for two surface labels on contralateral hemispheres. In essence, I would like to treat these contralateral labels as a single label.
Is there a way to use freesurfer binaries (e.g., mri_segstats) with, lh.func.mgz, rh.fun.mgz, lh.ROI.label, and rh.ROI.label to write a text file with a single average waveform column?
Thanks! I hope all is well in Boston!
Cheers, Bram
Bram R. Diamond, BSc Clinical Neuropsychology Doctoral Student Northwestern University Feinberg School of Medicine Mesulam Center for Cognitive Neurology & Alzheimer’s Disease 300 E. Superior Street | Tarry 8 | Chicago, IL 60611 http://secure-web.cisco.com/1rd9CGB1epEqWboZc37JDhl3-uOBS_KFp5wmeeP-n7zZWCMw... https://secure-web.cisco.com/1l1WxoIUCeqChdzdCLmFK4W0BM6NBQUq7Q-yena2Oie4hv9md4nzvs0NW-Xm0YikgTcrzsABuv8hNZ7r7xsOgOeYYRJ6xAERDRrUN0np4pe3h-acYfJYnA16a1FHpO188Q0ZNGvmoYbBLn963lqKLwjgCDIZ5JOFLMC9gIPWAh2gZOW3W0RYB_Ot87BNZ1fu4une24TmXphQ0x4XljAQSd4U82z5A6W6FrpkkvplBmWQqMhAhu-pr04w1W8N9Z2fCDQvau8BFR9yCq8Hc2iWwj1UkeOIjlfOCcwDllmIMwxP6gtwhcFt8WvAVeUedxmV4CkLuVtQ3fwLuoNcXUdYOZQ/https%3A%2F%2Fwww.massgeneral.org%2Fnicc
Hi Bram, there is not a way to do it with a single command. You could use the aparc+aseg, merge the two hemi labels into one, then run mri_segstats. If you want to stick with pure surface-based analysis, then you'd have to run mri_segstats twice, then just compute a weighted mean of the two waveforms (weighted by the number of vertices in each) doug
On 1/16/2023 4:30 PM, Bram Diamond wrote:
External Email - Use Caution
Hello FreeSurfer Team,
I've made a New Year's resolution to stop bothering Andrew Hoopes and instead send my questions to the FreeSurfer Mailing List.
I would like to calculate a single average waveform for two surface labels on contralateral hemispheres. In essence, I would like to treat these contralateral labels as a single label.
Is there a way to use freesurfer binaries (e.g., mri_segstats) with, lh.func.mgz, rh.fun.mgz, lh.ROI.label, and rh.ROI.label to write a text file with a single average waveform column?
Thanks! I hope all is well in Boston!
Cheers, Bram
Bram R. Diamond, BSc Clinical Neuropsychology Doctoral Student Northwestern University Feinberg School of Medicine Mesulam Center for Cognitive Neurology & Alzheimer’s Disease 300 E. Superior Street | Tarry 8 | Chicago, IL 60611 *MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* www.brain.northwestern.edu http://secure-web.cisco.com/1rd9CGB1epEqWboZc37JDhl3-uOBS_KFp5wmeeP-n7zZWCMwlDuTlV1o551fqjOqYzccPbm5c2DzzARujomLrHcIqfB79clc5P6e6LiEy3vST3uj-eGX7Aexz1uQatXJJIYh8vcM7aQZ3W0pTMsr6qLUuUR4gDjKsqvrzSEhaQlARJ2f7JApYv9ndO8OauqODIvKlbRic_BD0itpGeWIm6OCHaBAbgvrnwaUbH_Q47_V8AdPoG2qe6Oh1YFHD4GENNjNx_8Q7ZbkvP7L_RqcN9iiNbWLd7xFC-9TiIOkBzPGWFXS35xlsjVx9ZZVcSMUCvus_m8cFGWF3qM56C4WMtA/http%3A%2F%2Fwww.brain.northwestern.edu https://secure-web.cisco.com/1l1WxoIUCeqChdzdCLmFK4W0BM6NBQUq7Q-yena2Oie4hv9md4nzvs0NW-Xm0YikgTcrzsABuv8hNZ7r7xsOgOeYYRJ6xAERDRrUN0np4pe3h-acYfJYnA16a1FHpO188Q0ZNGvmoYbBLn963lqKLwjgCDIZ5JOFLMC9gIPWAh2gZOW3W0RYB_Ot87BNZ1fu4une24TmXphQ0x4XljAQSd4U82z5A6W6FrpkkvplBmWQqMhAhu-pr04w1W8N9Z2fCDQvau8BFR9yCq8Hc2iWwj1UkeOIjlfOCcwDllmIMwxP6gtwhcFt8WvAVeUedxmV4CkLuVtQ3fwLuoNcXUdYOZQ/https%3A%2F%2Fwww.massgeneral.org%2Fnicc
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu