mne.
split_label
(label, parts=2, subject=None, subjects_dir=None, freesurfer=False)[source]¶Split a Label into two or more parts.
Parameters: | label : Label | str
parts : int >= 2 | tuple of str
subject : None | str
subjects_dir : None | str
freesurfer : bool
|
---|---|
Returns: | labels : list of Label (len = n_parts)
|
Notes
Works by finding the label’s principal eigen-axis on the spherical surface, projecting all label vertex coordinates onto this axis and dividing them at regular spatial intervals.