Beispiel #1
0
def matching_ind_in(cmatrix):
    """ Computes matching index for incoming connections.
    
    Parameters
    ----------

    cmatrix : connection/adjacency matrix
    
    Returns
    -------
    Min : matching index for incoming connections
    
    """
    m = bct.to_gslm(cmatrix.tolist())
    mi = bct.matching_ind_in(m)
    minp = bct.from_gsl(mi)
    bct.gsl_free(m)
    bct.gsl_free(mi)
    return np.asarray(minp)
Beispiel #2
0
def matching_ind_in(cmatrix):
    """ Computes matching index for incoming connections.
    
    Parameters
    ----------

    cmatrix : connection/adjacency matrix
    
    Returns
    -------
    Min : matching index for incoming connections
    
    """
    m = bct.to_gslm(cmatrix.tolist())
    mi = bct.matching_ind_in(m)
    minp = bct.from_gsl(mi)
    bct.gsl_free(m)
    bct.gsl_free(mi)
    return np.asarray(minp)
Beispiel #3
0
def matching_ind_in(*args):
  return _bct.matching_ind_in(*args)
Beispiel #4
0
def matching_ind_in(*args):
    return _bct.matching_ind_in(*args)
Beispiel #5
0
def matching_ind_in(*args):
  """matching_ind_in(gsl_matrix CIJ) -> gsl_matrix"""
  return _bct.matching_ind_in(*args)
Beispiel #6
0
def matching_ind_in(*args):
    """matching_ind_in(gsl_matrix CIJ) -> gsl_matrix"""
    return _bct.matching_ind_in(*args)