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.aparcstats2table

brainprep.interfaces.freesurfer.aparcstats2table(subjects, session, hemi, measure, output_dir)[source]

Summarizes the stats data ‘?h.aparc.stats’ for both templates (Desikan & Destrieux) using FreeSurfer’s aparcstats2table.

Parameters:
subjectslist[str]

List with subject identifiers.

sessionstr

The current session.

hemistr

The hemisphere: ‘lh’ or ‘rh’.

measurestr

The cortical measure.

output_dirDirectory

FreeSurfer working directory containing all the subjects.

Returns:
commandlist[str]

Summary command-line.

outputstuple[File]
  • desikan_stat_file : File - Desikan template cortical features summary.

  • destrieux_stat_file : File - Destrieux template cortical features summary.