pypet/parameter.py
def _is_supported_matrix(data):
        """Checks if a data is csr, csc, bsr, or dia Scipy sparse matrix"""
        return (spsp.isspmatrix_csc(data) or
                spsp.isspmatrix_csr(data) or
                spsp.isspmatrix_bsr(data) or
                spsp.isspmatrix_dia(data))
def _is_supported_matrix(data):
        return (spsp.isspmatrix_csc(data) or
                spsp.isspmatrix_csr(data) or
                spsp.isspmatrix_bsr(data) or
                spsp.isspmatrix_dia(data))
def _is_supported_matrix ( data ) : return ( spsp . isspmatrix_csc ( data ) or spsp . isspmatrix_csr ( data ) or spsp . isspmatrix_bsr ( data ) or spsp . isspmatrix_dia ( data ) )
Checks if a data is csr, csc, bsr, or dia Scipy sparse matrix
Checks if a data is csr csc bsr or dia Scipy sparse matrix