cortex.freesurfer.get_paths

cortex.freesurfer.get_paths(fs_subject, hemi, type='patch', freesurfer_subject_dir=None)[source]

Retrieve paths for all surfaces for a subject processed by freesurfer

Parameters:
subjectstring

Subject ID for freesurfer subject

hemistring [‘lh’|’rh’]

Left (‘lh’) or right (‘rh’) hemisphere

typestring [‘patch’|’surf’|’curv’]

Which type of files to return

freesurfer_subject_dirstring | None

Directory of freesurfer subjects. Defaults to the value for the environment variable ‘SUBJECTS_DIR’ (which should be set by freesurfer)