fsqc.checkTopology

This module provides a function to check the topology of left and right surfaces

fsqc.checkTopology.checkTopology(subjects_dir, subject)[source]

Check the topology of left and right surfaces.

This function extracts information about the number of holes and defects in the left and right hemisphere, and also returns topological fixing time.

Parameters:
subjects_dirstr

The directory containing subject data.

subjectstr

The name of the subject.

Returns:
lh_holesint

Number of holes in the left hemisphere.

rh_holesint

Number of holes in the right hemisphere.

lh_defectsint

Number of defects in the left hemisphere.

rh_defectsint

Number of defects in the right hemisphere.

topo_time_lhfloat

Topological fixing time for the left hemisphere.

topo_time_rhfloat

Topological fixing time for the right hemisphere.

Notes

Requires a valid scripts/recon-all.log file. If not found, NaNs will be returned.