

def __getitem__(self, label=None):
    "\n        Returns the PointCloud that contains this label represents on the group.\n        This will be a subset of the total landmark group PointCloud.\n\n        Parameters\n        ----------\n        label : `string`\n            Label to filter on.\n\n        Returns\n        -------\n        pcloud : :map:`PointCloud`\n            The PointCloud that this label represents. Will be a subset of the\n            entire group's landmarks.\n        "
    if (label is None):
        return self.lms.copy()
    return label._pointcloud.from_mask(self._labels_to_masks[label])

dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py LandmarkGroup.__getitem__/VarMisuse@36/186 `self`->`label`