def mask_indices(n, mask_func, k=0):
    m = np.ones((n, n), int)
    a = mask_func(m, k)
    return np.where(a != 0)
Creates entity/entities from input values via the dict_to_entity method.
dataset/ETHPy150Open nipy/nitime/nitime/utils.py/mask_indices--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/bulkloader_config.py/GenericImporter.create_entity