pdft.coherence.coherence# pdft.coherence.coherence(basis, operator=None)[source]# mu(U) = N max_ij |U_ij|^2, in [1, N]. 1 is maximal incoherence. Pass operator to reuse a matrix from dense_operator. Parameters: operator (Array | None) Return type: float