cortex.database.Database.get_anat

Database.get_anat(subject: str, type: Literal['raw', 'brainmask', 'whitematter', 'voxelize'] = 'raw', xfmname: str | None = None, recache: bool = False, order: Literal[0, 1, 2, 3, 4, 5] = 1, **kwargs)[source]

Return anatomical information from the filestore. Anatomical information is defined as any volume-space anatomical information pertaining to the subject, such as T1 image, white matter masks, etc. Volumes not found in the database will be automatically generated.

Parameters:
subjectstr

Name of the subject

typestr

Type of anatomical volume to return. This should be the name of one of the

recachebool

Regenerate the information

Returns:
volumenibabel object

Volume containing