cortex.dataset.Vertex.copy

Vertex.copy(data)

Return a new VertexData object for the same subject but with data replaced by the given data.

This is useful for efficiently creating many VertexData objects, since it doesn’t require reloading the surfaces from the database to check numbers of vertices, etc.