# cortex.surfinfo.thickness¶

cortex.surfinfo.thickness(outfile, subject)[source]

Compute cortical thickness as the distance between corresponding pial and white matter vertices for the given subject. Note that this is slightly different than the method used by Freesurfer, and will yield ever-so-slightly different results.

Parameters
outfilestr

Path where the thickness map will be saved.

subjectstr

Subject in the pycortex database for whom cortical thickness will be computed.