def mask_indices(n,mask_func,k=0):
    m = ones((n,n),int)
    a = mask_func(m,k)
    return where(a != 0)
Find a module, also handling subpackages.
dataset/ETHPy150Open nipy/nitime/nitime/index_utils.py/mask_indices--crossover with--dataset/ETHPy150Open kdart/pycopia/aid/pycopia/module.py/find_module