Hi Lauren,

 

You can find the new write_patch.m function here - https://github.com/freesurfer/freesurfer/blob/dev/matlab/write_patch.m

 

You can install it with:

 

curl https://raw.githubusercontent.com/freesurfer/freesurfer/dev/matlab/write_patch.m > write_patch.m

cp write_patch.m ${FREESURFER_HOME}/matlab

 

best

Andrew

 

 

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of "Dinicola, Lauren" <lmd600@g.harvard.edu>
Reply-To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Date: Monday, August 13, 2018 at 9:19 AM
To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] fsaverage6 ?h.cortex.flat.patch files

 

Thank you!

 

On Sun, Aug 12, 2018 at 6:49 PM, Bruce Fischl <fischl@nmr.mgh.harvard.edu> wrote:

oh, maybe we never got around to writing a write_patch.m. We'll put one together and send it to you
Bruce


On Sun, 12 Aug 2018, Dinicola, Lauren wrote:

Hi Dr. Fischl,
Thank you so much for this response. This is a great idea, but I have not yet been successful with
writing out the adjusted structure to a ?h.cortex.flat.patch file. 
Is there a specific command for writing a patch?

Thank you again,

Lauren

On Wed, Aug 8, 2018 at 3:04 PM, Bruce Fischl <fischl@nmr.mgh.harvard.edu> wrote:
      sorry, no. You could create them fairly easily from fsaverage7, since the
      fsaverage6 is a subset of the vertices in 7. Just pick out the locations of
      the fsaverage6 vertices from the fsaverage7 flat map and write it out as a
      flat map (easy to do in matlab for example)

      On Wed,
      8 Aug 2018, Dinicola, Lauren wrote:

      > Hi all,
      > We are hoping to visualize flat maps of surface data sampled to fsaverage6. Do
      'flat.patch' files
      > exist already for fsaverage6?
      >
      > Thank you for any help,
      >
      > Lauren DiNicola
      >
      >
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.