##################################################################### https://pages.ucsd.edu/~msereno/csurf/fsaverage-labels/bin/README.txt ##################################################################### ------------ update-csurf ------------ This sh script downloads and installs the latest csurf distribution into the current directory. If there is already a "csurf" directory present, it will be moved aside/renamed with a date suffix from the tarfile from which is was unpacked. The latest csurf will always be installed as just "csurf". Run it as follows: cd update-csurf go ---------------- update-fsaverage ---------------- This sh script installs the CsurfMaps1 parcellation (FreeSurfer labels and GIFTI equivalents) into a writable copy of subject "fsaverage" in the current $SUBJECTS_DIR. It moves aside/renames the original {rh,lh}.inflated_avg surfaces and {rh,lh}.area files with an ORIG suffix before installing updated versions. Finally, it adds less distorted flattenings made from the fixed inflated_avg surfaces. N.B.: both of these scripts are included in the standard csurf distribution (in two locations): $CSURF_DIR/bin/noarch $CSURF_DIR/subjects/fsaverage-ADDITIONS/scripts Run it as follows: if bash/zsh: export SUBJECTS_DIR= if csh/tcsh: setenv SUBJECTS_DIR update-fsaverage go