Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/n/i/nipy-0.3.0/nipy/labs/utils/random_threshold.py   nipy(Download)
import scipy.stats as st
from nipy.algorithms.graph import wgraph_from_3d_grid
from ..group.routines import add_lines
 
tol = 1e-10
    size = np.zeros(ncc, float)
    ones = np.ones((p, 1), float)
    add_lines(ones, size.reshape(ncc, 1), label)
    return np.where(size[label] == 1)[0]