Example #1
0
def matching_ind_out(cmatrix):
    """ Computes matching index for outgoing connections.
    
    Parameters
    ----------

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

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