def superimposition_matrix(v0, v1, scale=False, usesvd=True):
 v0 = numpy.array(v0, dtype=numpy.float64, copy=False)[:3]
 v1 = numpy.array(v1, dtype=numpy.float64, copy=False)[:3]
 return affine_matrix_from_points(v0, v1, shear=False, scale=scale, usesvd=usesvd)

def superimposition_matrix ( v0 , v1 , scale = False , usesvd = True ) : v0 = numpy . array ( v0 , dtype = numpy . float64 , copy = False ) [ : 3 ] v1 = numpy . array ( v1 , dtype = numpy . float64 , copy = False ) [ : 3 ] return affine_matrix_from_points ( v0 , v1 , shear = False , scale = scale , usesvd = usesvd )
return matrix to transform given 3d point set into second point set .