

def split(self, parts=2, subject=None, subjects_dir=None, freesurfer=False):
    "Split the Label into two or more parts\n\n        Parameters\n        ----------\n        parts : int >= 2 | tuple of str\n            A sequence of strings specifying label names for the new labels\n            (from posterior to anterior), or the number of new labels to create\n            (default is 2). If a number is specified, names of the new labels\n            will be the input label's name with div1, div2 etc. appended.\n        subject : None | str\n            Subject which this label belongs to (needed to locate surface file;\n            should only be specified if it is not specified in the label).\n        subjects_dir : None | str\n            Path to SUBJECTS_DIR if it is not set in the environment.\n        freesurfer : bool\n            By default (``False``) ``split_label`` uses an algorithm that is\n            slightly optimized for performance and numerical precision. Set\n            ``freesurfer`` to ``True`` in order to replicate label splits from\n            FreeSurfer's ``mris_divide_parcellation``.\n\n        Returns\n        -------\n        labels : list of Label (len = n_parts)\n            The labels, starting from the lowest to the highest end of the\n            projection axis.\n\n        Notes\n        -----\n        Works by finding the label's principal eigen-axis on the spherical\n        surface, projecting all label vertex coordinates onto this axis and\n        dividing them at regular spatial intervals.\n        "
    return split_label(self, parts, subject, freesurfer, freesurfer)

dataset/ETHPy150Open mne-tools/mne-python/mne/label.py Label.split/VarMisuse@37/558 `subjects_dir`->`freesurfer`