Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
brainprep.interfaces.freesurfer.freesurfer_features_summary¶
- brainprep.interfaces.freesurfer.freesurfer_features_summary(workspace_dir, output_dir)[source]¶
Summarizes the generated FreeSurfer features for all subjects.
Generate text/ascii tables of FreeSurfer parcellation stats data ‘?h.aparc.stats’ for both templates (Desikan & Destrieux) and volumetric data for subcortical brain structures ‘aseg.stats’. Parcellation stats includes: - area - volume - thickness - thicknessstd - meancurv - gauscurv - foldind - curvind
- Parameters:
- workspace_dir: Directory
Working directory where FreeSurfer outputs are reorganized to run new commands.
- output_dirDirectory
FreeSurfer working directory containing all the subjects.
- Returns:
- statfiles: tuple[File]
A tuple containing FreeSurfer summary stats. The data are returned in the following order (the results for each timepoint are stacked): - desikan_stat_lh_<meas>_file - destrieux_stat_lh_<meas>_file - desikan_stat_rh_<meas>_file - destrieux_stat_rh_<meas>_file - volume_stat_file
Notes
Creates FreeSurfer ‘SUBJECTS_DIR’ for each timepoint in a working directory using symlinks.