Skip to main content

parcellation

parcellation(which, lr, space='onavg-ico32', prob=False, **kwargs)

Group-based parcellation.

Parameters

Name Type Description Default
which str Which parcellation to get. One of the following: ‘aparc’, ‘aparc.DKTatlas’, ‘aparc.a2009s’, ‘HCP_MMP’. required
lr str Hemisphere, either ‘l’, ‘r’, or ‘lr’. required
space str Surface space. 'onavg-ico32'
prob bool Whether to load the probabilistic version of the parcellation. False
**kwargs dict Optional keyword arguments. group is the participant group: for ‘HCP_MMP’, one of ‘Q1-Q6_Related420’ (default), ‘Q1-Q6_RelatedParcellation210’, or ‘Q1-Q6_RelatedValidation210’; for other parcellations, it defaults to ‘on1031’ with avg_type defaulting to ‘trimmed’. resample is the resampling method, default ‘overlap-8div’. {}

Returns

Name Type Description
parc ndarray The cortical parcellation. It is a discrete parcellation if prob is False, and a probabilistic parcellation if prob is True.