'Get the source space\'s vertices inside the label.
Parameters
vertices : ndarray of int, shape (n_vertices,) | None
The set of vertices to compare the label to. If None, equals to
``np.arange(10242)``. Defaults to None.
Returns
label_verts : ndarray of in, shape (n_label_vertices,)
The vertices of the label corresponding used by the data.'

def get_vertices_used(self, vertices=None):

    if (vertices is None):
        vertices = np.arange(10242)
    label_verts = vertices[np.in1d(vertices, self.vertices)]
    return label_verts
