Пример #1
0
    'max_size': 20000,
    'module': module,
    'nets': ['Net_0'],
    'other_scenario': True,
    'path_code': default_params.HOME_CODE,
    'path_results': get_path_logs(LOAD_MILNER_ON_SUPERMICRO, FILE_NAME),
    'perturbation_list': [op.get()[7]],
    'proportion_connected':
    proportion_connected,  #related to toal number fo runs
    'p_pulses': [5] * NUM_NETS,  #size of labels
    'p_sizes': [1.] * NUM_RUNS,
    'p_subsamp': [1.] * NUM_RUNS,
    'res': 10,
    'rep': 40,
    'time_bin': 100,
}

d_process_and_thread = par_process_and_thread(**kwargs)
kwargs.update(d_process_and_thread)

p_list = pert_add_go_nogo_ss(**kwargs)

for i, p in enumerate(p_list):
    print i, p

a_list = get_args_list_Go_NoGo_compete(p_list, **kwargs)
k_list = get_kwargs_list_indv_nets(len(p_list), kwargs)

# loop(get_loop_index(5, [15,15,3]), a_list, k_list )

loop(1, [NUM_NETS, NUM_NETS, 1], a_list, k_list)
        
        'path_code':default_params.HOME_CODE,
        'path_results':get_path_logs(LOAD_MILNER_ON_SUPERMICRO, 
                                     FILE_NAME),
        'perturbation_list':[op.get()[7]],
        'proportion_connected':[0.2]*1, #related to toal number fo runs
        
        'p_pulses':[5],
        'p_sizes':[
                    1,
                ],
        'p_subsamp':[
                     1., 
                    ],
        'res':10,
        'rep':80,

       'time_bin':100,
        }

d_process_and_thread=par_process_and_thread(**kwargs)
kwargs.update(d_process_and_thread)

p_list=pert_add_go_nogo_ss(**kwargs)

for i, p in enumerate(p_list): print i, p

a_list=get_args_list_Go_NoGo_compete(p_list, **kwargs)
k_list=get_kwargs_list_indv_nets(len(p_list), kwargs)
        
loop(1, [num_sims, num_sims, NUM_RUNS], a_list, k_list )