Ejemplo n.º 1
0
def find_motif34(m, n):
    """ Returns all motif isomorphs for a given motif ID and size.
   
    Parameters
    ----------
    m : motif ID
    n : size
    
    Returns
    -------
    MOTIF_MATRICES

    Mika Rubinov, UNSW, 2007 (last modified July 2008)

    """
    mi = bct.find_motif34(m, n)
    minp = bct.from_gsl(mi)
    logging.error("What to do with std::vector<gsl_matrix*> ??")
    bct.gsl_free(m)
    return np.asarray(minp)
Ejemplo n.º 2
0
def find_motif34(m,n):
    """ Returns all motif isomorphs for a given motif ID and size.
   
    Parameters
    ----------
    m : motif ID
    n : size
    
    Returns
    -------
    MOTIF_MATRICES

    Mika Rubinov, UNSW, 2007 (last modified July 2008)

    """
    mi = bct.find_motif34(m,n)
    minp = bct.from_gsl(mi)
    logging.error("What to do with std::vector<gsl_matrix*> ??")
    bct.gsl_free(m)
    return np.asarray(minp)
Ejemplo n.º 3
0
def find_motif34(*args):
  return _bct.find_motif34(*args)
Ejemplo n.º 4
0
def find_motif34(*args):
    return _bct.find_motif34(*args)
Ejemplo n.º 5
0
def find_motif34(*args):
  """
    find_motif34(int m, int n) -> std::vector<(p.gsl_matrix)>
    find_motif34(gsl_matrix m) -> int
    """
  return _bct.find_motif34(*args)
Ejemplo n.º 6
0
def find_motif34(*args):
    """
    find_motif34(int m, int n) -> std::vector<(p.gsl_matrix)>
    find_motif34(gsl_matrix m) -> int
    """
    return _bct.find_motif34(*args)