cortex.database.Database.get_coords

Database.get_coords(subject: str, xfmname: str, hemisphere: Literal['lh', 'rh', 'both'] = 'both', magnet: NDArray | None = None) → list[NDArray[floating]][source]

Calculate the coordinates of each vertex in the epi space by transforming the fiducial to the coordinate space

Parameters:
subjectstr

Name of the subject

xfmnamestr

Name of the transform

hemispherestr, optional

Which hemisphere to return. If “both”, return concatenated. Defaults to “both”.