'path_results':dr.HOME_DATA+ '/'+ FILE_NAME + '/', 'perturbation_list':ops, 'sim_time':20000.0, 'single_unit':['ST']*n_ops, #Same size as ops 'size':1.0 , # 'STN_amp_mod':STN_amp_mod, 'tp_names':['beta']*(n_ops/2)+['sw']*(n_ops/2), #Same size as ops # 'tuning_freq_amp_to':'M2', 'wrapper_process':WRAPPER_PROCESS, #user defined wrapper of subprocesses } p_list = pert_add_single(**kwargs) for i, p in enumerate(p_list): print i, p a_list=get_args_list_opt_single(p_list, **kwargs) k_list=get_kwargs_list_indv_nets(len(p_list), kwargs) for i, obj in enumerate(a_list): print i, obj.kwargs['from_disk'] loop(4,[num_sims], a_list, k_list )
# 'path_rate_runs':path_rate_runs, 'path_results': dr.HOME_DATA + '/' + FILE_NAME + '/', 'perturbation_list': ops, 'sim_time': 20000.0, 'single_unit': ['ST'] * n_ops, #Same size as ops 'size': 1.0, # 'STN_amp_mod':STN_amp_mod, 'tp_names': ['beta'] * (n_ops / 2) + ['sw'] * (n_ops / 2), #Same size as ops # 'tuning_freq_amp_to':'M2', 'wrapper_process': WRAPPER_PROCESS, #user defined wrapper of subprocesses } p_list = pert_add_single(**kwargs) for i, p in enumerate(p_list): print i, p a_list = get_args_list_opt_single(p_list, **kwargs) k_list = get_kwargs_list_indv_nets(len(p_list), kwargs) for i, obj in enumerate(a_list): print i, obj.kwargs['from_disk'] loop(4, [num_sims], a_list, k_list)