@pimms.value<EOL><INDENT>def vertex_hash(coordinates):<DEDENT>
try:              return space.cKDTree(coordinates.T)<EOL>except Exception: return space.KDTree(coordinates.T)<EOL>
mesh.vertex_hash yields the scipy spatial hash of the vertices of the given mesh.