cortex.database.Database.get_mri_surf2surf_matrix

Database.get_mri_surf2surf_matrix(subject, surface_type, hemi='both', fs_subj=None, target_subj='fsaverage', **kwargs)[source]

Get matrix generated by surf2surf to map one subject’s surface to another’s

Parameters:
subjectpycortex

pycortex subject ID

surface_typestr

type of surface; one of [‘fiducial’, ‘inflated’, ‘white’, ‘pial’] … more?

hemistr or list

one of: ‘both’, ‘lh’, ‘rh’

fs_subjstr

string ID for freesurfer subject (if different from pycortex subject ID; None assumes they are the same)

target_subjstr

string ID for freesurfer subject to which to map surface from subject (or fs_subj)

Other Parameters:
subjects_dirstr

Custom path to freesurfer subjects dir can be specified in the keyword args

n_neighborsint

random_statescalar

n_test_imagesint

coef_thresholdscalar or None

renormalizebool