pyphi.timescale.sparse#

pyphi.timescale.sparse(matrix, threshold=0.1)[source]#

Return whether matrix is sparse enough to benefit from a scipy sparse matrix power: at most threshold of its entries are nonzero.