Beispiel #1
0
    'p_sizes': [
        1,
        0.523,
        0.4278185787,
    ],
    'p_subsamp': [
        1.,
        2.5,
        5.,
    ],
    'res':
    10,
    'rep':
    10,
    'time_bin':
    50,
}

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)
Beispiel #2
0
    'module': module,
    'nets': ['Net_' + str(i) for i in range(2)],  #The nets for each run
    'op_pert_add': op_dop,
    'path_code': default_params.HOME_CODE,
    'path_rate_runs': get_path_rate_runs('simulate_inhibition_ZZZ4/'),
    'path_results': get_path_logs(LOAD_MILNER_ON_SUPERMICRO, FILE_NAME),
    'perturbation_list': [op.get()[7]],
    'sim_time': 40000.0,
    'size': 20000.0,
}

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

pp(kwargs)

p_list = pert_add_oscillations(**kwargs)
p_list = pert_set_data_path_to_milner_on_supermicro(p_list,
                                                    LOAD_MILNER_ON_SUPERMICRO)
p_list = pert_add(p_list, **kwargs)

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

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

loop(get_loop_index(NUM_NETS / 2, [NUM_NETS, NUM_NETS, NUM_NETS / 2]), a_list,
     k_list)
Beispiel #3
0
                   1.,
                   1.,
                   1.,
                   1.,
                   1.,
                  ],
        'p_subsamp':[
                     1.,
                     1.,
                     1.,
                     1.,
                     1.,
                     ],
        '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, [25,25,5]), a_list, k_list )
        
    'laptime': 1000.0,
    'local_threads_milner': 40,
    'local_threads_superm': 4,
    'max_size': 20000.,
    'module': module,
    'nets': ['Net_0', 'Net_1', 'Net_2', 'Net_3'],
    'path_code': default_params.HOME_CODE,
    'path_results': get_path_logs(LOAD_MILNER_ON_SUPERMICRO, FILE_NAME),
    'perturbation_list': [op.get()[4 + 3]],
    'proportion_connected': [0.08] * 4,  #related to toal number fo runs
    'p_sizes': [1.],
    'p_subsamp': [1.],
    '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)

ch = get_loop_index(4, [4, 4, 1], FROM_DISK_0)
loop(ch, a_list, k_list)
    'other_scenario':
    False,
    'path_code':
    default_params.HOME_CODE,
    'path_results':
    get_path_logs(LOAD_MILNER_ON_SUPERMICRO, FILE_NAME),
    'perturbation_list': [op.get()[4 + 3]],
    'proportion_connected': [0.08] * 4,  #related to toal number fo runs
    'p_sizes': [1.],
    'p_subsamp': [1.],
    '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, [5, 5, 1]), a_list, k_list)
    'local_threads_milner': 40,
    'local_threads_superm': 4,
    'max_size': 20000.,
    'module': module,
    'nets': ['Net_0', 'Net_1', 'Net_2', 'Net_3'],
    'op_pert_add': [op_dop.get()[5]],
    '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.08] * 4,  #related to toal number fo runs
    'p_sizes': [1.],
    'p_subsamp': [1.],
    '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)
p_list = pert_add(p_list, **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(4, [4, 4, 1]), a_list, k_list)