quemb.shared.helper.clean_overlap¶ quemb.shared.helper.clean_overlap(M, epsilon=1e-12)¶ We assume that M is a (not necessarily square) overlap matrix between ortho-normal vectors. We clean for floating point noise and return an integer matrix with only 0s and 1s. Return type: ndarray[tuple[int, ...], dtype[int64]]