def diag_indices(n, ndim=2):
    idx = np.arange(n)
    return (idx,) * ndim
Return all processes
dataset/ETHPy150Open nipy/nitime/nitime/utils.py/diag_indices--crossover with--dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/PluginManager.get_process_list