cortex.database.Database.get_surfinfo¶
- Database.get_surfinfo(subject, type='curvature', recache=False, **kwargs)[source]¶
Return auxiliary surface information from the filestore. Surface info is defined as anatomical information specific to a subject in surface space. A Vertex class will be returned as necessary. Info not found in the filestore will be automatically generated.
See documentation in cortex.surfinfo for auto-generation code
- Parameters:
- subject: str
Subject name for which to return info
- type: str
Type of surface info returned, IE. curvature, distortion, sulcaldepth, etc.
- recache: bool
Regenerate the information
- Returns:
- vertsVertex class
If the surface information has “left” and “right” entries, a Vertex class is returned
- OR -
- npznpzfile
Otherwise, an npz object is returned. Remember to close it!