Docsity

tash programming for data analysis, Resúmenes de Programación C

Toggle sidebar
bg1
TASH: Toolbox for the Automated Segmentation of Heschl’s gyrus
USER MANUAL
TASH Installation Setup (Perform it just once, when installing the toolbox)
1. Have MATLAB (preferred version R2012a) installed on your linux platform.
2. Have Freesurfer (preferred version 5.3) installed on your linux platform.
3. On the OS X terminal Tcsh Shell, set in the folder where the file TASH.csh is.
4. On the OS X terminal Tcsh Shell, type: chmod +x TASH.csh
Preparing for processing the data (Adjust it every time you need to process a new data)
1. Perform Freesurfer recon-all command on the T1 MR images.
2. On the terminal Tcsh Shell, set in the folder where the TASH tcsh files are.
3. Open the file TASH_DefineSubjects and define your subjects on the line 2, as:
set SUBJECTS = (Your_Subject_1 Your_Subjetct_2 All_Other_Subjects)
4. Open the file TASH_DefineSubjects.m
a. On the line 2, define your subjects, enveloped by apostrophes, as:
sub = {'Your_Subject_1' 'Your_Subjetct_2 ' 'All_Other_Subjects'};
b. On the line 3, define the folder where freesurfer subjects are:
Dload = '/…/freesurfer/subjects';
c. On the line 4, define the folder where TASH output images should be saved:
Dsave = '/…/…/…';
Processing the data
1. On the terminal Tcsh Shell, type: ./TASH.csh
Data output
1. Two matlab files contains the numerical output of TASH (actual values for anatomical
measures).
a. 'TASH_measures_complete.mat' stores two matlab structs ('lh' and 'rh'), each one
contains the anatomical measures (volume, suface area, mean thickness, etc...)
considering all gyri of the hemisphere together. In this way, each matrix inside the struct
(for example 'lh.volume') contains one value per line, while each line is each different
inputted T1 image.
b. 'TASH_measures_complete_individual.mat' file has the same structure of the file
mentioned above. However, in this case it stores the anatomical measures considering
each gyrus individually. In this way, each matrix inside the struct (for example
'lh.volume') contains N values per line, where N is the number of transverse temporal
gyri for each hemisphere. Then, the first column stores results for the first gyrus and so
on (from anterior to posterior).
2. About the images, the ones in the main folder displays all temporal transverse gyri per
hemisphere, while the images in the subfolder 'individual' displays each gyrus individually per
image.

Vista previa parcial del texto

¡Descarga tash programming for data analysis y más Resúmenes en PDF de Programación C solo en Docsity!

TASH: Toolbox for the Automated Segmentation of Heschl’s gyrus

USER MANUAL

TASH Installation Setup (Perform it just once, when installing the toolbox)

  1. Have MATLAB (preferred version R2012a) installed on your linux platform.
  2. Have Freesurfer (preferred version 5.3) installed on your linux platform.
  3. On the OS X terminal Tcsh Shell, set in the folder where the file TASH.csh is.
  4. On the OS X terminal Tcsh Shell, type: chmod +x TASH.csh Preparing for processing the data (Adjust it every time you need to process a new data)
  5. Perform Freesurfer recon-all command on the T1 MR images.
  6. On the terminal Tcsh Shell, set in the folder where the TASH tcsh files are.
  7. Open the file TASH_DefineSubjects and define your subjects on the line 2, as: set SUBJECTS = (Your_Subject_1 Your_Subjetct_2 All_Other_Subjects)
  8. Open the file TASH_DefineSubjects.m a. On the line 2, define your subjects, enveloped by apostrophes, as: sub = {'Your_Subject_1' 'Your_Subjetct_2 ' 'All_Other_Subjects'}; b. On the line 3, define the folder where freesurfer subjects are: Dload = '/…/freesurfer/subjects'; c. On the line 4, define the folder where TASH output images should be saved: Dsave = '/…/…/…'; Processing the data
  9. On the terminal Tcsh Shell, type: ./TASH.csh Data output
  10. Two matlab files contains the numerical output of TASH (actual values for anatomical measures). a. 'TASH_measures_complete.mat' stores two matlab structs ('lh' and 'rh'), each one contains the anatomical measures (volume, suface area, mean thickness, etc...) considering all gyri of the hemisphere together. In this way, each matrix inside the struct (for example 'lh.volume') contains one value per line, while each line is each different inputted T1 image. b. 'TASH_measures_complete_individual.mat' file has the same structure of the file mentioned above. However, in this case it stores the anatomical measures considering each gyrus individually. In this way, each matrix inside the struct (for example 'lh.volume') contains N values per line, where N is the number of transverse temporal gyri for each hemisphere. Then, the first column stores results for the first gyrus and so on (from anterior to posterior).
  11. About the images, the ones in the main folder displays all temporal transverse gyri per hemisphere, while the images in the subfolder 'individual' displays each gyrus individually per image.