Example #1
0
def run_exploration(path, begin, end):
    parameter_test.param_co_simulation['nb_MPI_nest'] = 0
    parameter_test.param_nest_topology['nb_region'] = 1
    parameter_test.param_tvb_monitor['Raw'] = True
    run_exploration_2D(path, parameter_test, {
        'b': [10.0, 7.0, 1.0],
        'mean_I_ext': [0.0]
    }, begin, end)
Example #2
0
def run_exploration(path,begin,end,nb_VP,nb_mpi,cluster):
    parameter_test.param_co_simulation['co-simulation']=True
    parameter_test.param_co_simulation['cluster']=cluster
    parameter_test.param_co_simulation['nb_MPI_nest']=nb_mpi
    parameter_test.param_nest['total_num_virtual_procs']=nb_VP
    parameter_test.param_nest_topology['nb_neuron_by_region'] = 100 # NOTE we changed it from 100
    parameter_test.param_co_simulation['id_region_nest']=[1]  # NOTE we changed it from [1,2]
    parameter_test.param_co_simulation['synchronization']=3.5
    parameter_test.param_nest_background['multimeter']=False
    parameter_test.param_nest_background['record_spike']=False
    run_exploration_2D(path, parameter_test, {'g':[1.0], 'mean_I_ext': [0.0]}, begin, end)
Example #3
0
def run_exploration(path, begin, end):
    parameter_test.path = "/home/example/parameter/data_mouse/"
    parameter_test.param_co_simulation['co-simulation'] = True
    parameter_test.param_co_simulation[
        'nb_MPI_nest'] = MPI.COMM_WORLD.Get_size()
    parameter_test.param_nest['total_num_virtual_procs'] = 10
    parameter_test.param_co_simulation['id_region_nest'] = [1, 2]
    parameter_test.param_co_simulation['synchronization'] = 3.5
    run_exploration_2D(path, parameter_test, {
        'g': [1.0],
        'mean_I_ext': [0.0]
    }, begin, end)
Example #4
0
def run_exploration(path, begin, end):
    parameter_test.param_co_simulation['co-simulation'] = False
    parameter_test.param_co_simulation['nb_MPI_nest'] = 1
    parameter_test.param_nest['total_num_virtual_procs'] = 10
    parameter_test.param_co_simulation['id_region_nest'] = [0, 1, 2]
    parameter_test.param_co_simulation['synchronization'] = 20.0
    parameter_test.param_record_MPI['save_step'] = 10
    parameter_test.param_co_simulation['level_log'] = 1
    parameter_test.param_co_simulation['record_MPI'] = True
    run_exploration_2D(path, parameter_test, {
        'g': np.arange(0.0, 1.0, 0.5),
        'mean_I_ext': np.arange(0.0, 100.0, 50.0)
    }, begin, end)
Example #5
0
def run_exploration(path, begin, end):
    parameter_test.param_co_simulation['co-simulation'] = True
    parameter_test.param_co_simulation[
        'nb_MPI_nest'] = 4  # adapt the simulation for different number of rank
    parameter_test.param_nest[
        'total_num_virtual_procs'] = parameter_test.param_co_simulation[
            'nb_MPI_nest']
    parameter_test.param_co_simulation['id_region_nest'] = [
        1, 2
    ]  # replace 2 region by nest simulation
    parameter_test.param_co_simulation[
        'synchronization'] = 3.5  # synchronization between Nest and TVB
    run_exploration_2D(path, parameter_test, {
        'g': np.arange(1.0, 1.2, 0.5),
        'mean_I_ext': [0.0]
    }, begin, end)
Example #6
0
def run_exploration(path, begin, end):
    run_exploration_2D(path, parameter_test, {
        'g': np.arange(0.0, 1.0, 0.5),
        'mean_I_ext': np.arange(0.0, 100.0, 50.0)
    }, begin, end)
Example #7
0
def run_exploration(path, begin, end):
    parameter_test.param_co_simulation['nb_MPI_nest'] = 0
    run_exploration_2D(path, parameter_test, {
        'g': np.arange(0.0, 1.0, 0.5),
        'mean_I_ext': np.arange(0.0, 100.0, 50.0)
    }, begin, end)
Example #8
0
def run_exploration(path, begin, end):
    parameter_test.param_nest_topology['nb_region'] = 1
    run_exploration_2D(path, parameter_test, {
        'b': [10.0, 7.0, 1.0],
        'mean_I_ext': [0.0]
    }, begin, end)