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.euler_numbers¶
- brainprep.interfaces.euler_numbers(output_dir, euler_threshold=-217, dryrun=False)[source]¶
FreeSurfer recon-all quality control.
Parse the FreeSurfer’s Euler numbers for all subjects and applies the quality control described in [1].
- Parameters:
- output_dirDirectory
FreeSurfer working directory containing all the subjects.
- euler_thresholdint
Quality control threshold on the Euler number. Default 217.
- dryrunbool
If True, skip actual computation and file writing. Default False.
- Returns:
- euler_numbers_fileFile
A TSV file containing FreeSurfer’s averaged Euler numbers. The table includes the columns
participant_id,session,run, andeuler_number, as well as a binaryqccolumn indicating the quality control result.
Notes
A
qccolumn is added to the output table. It contains a binary flag indicating whether the euler score exceeds the threshold:qc = 1ifeuler_number > euler_threshold, otherwiseqc = 0.References