'l_hours': ['05', '02', '00'], 'l_minutes': ['00', '00', '05'], 'l_seconds': ['00', '00', '00'], 'labels': [ 'D1,D2 puls=5', ], 'laptime': 1000.0, 'local_threads_milner': 40, 'local_threads_superm': 4, '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)
path_rate_runs=get_path_rate_runs('simulate_inhibition_ZZZ34_slow/') FILE_NAME=__file__.split('/')[-1][0:-3] FROM_DISK_0=int(sys.argv[1]) if len(sys.argv)>1 else 0 LOAD_MILNER_ON_SUPERMICRO=False NUM_NETS=2 amp_base=numpy.arange(1.05, 1.2, 0.05) freqs=numpy.arange(0.5, .8, 0.2) n=len(amp_base) m=len(freqs) amp_base=list(numpy.array([m*[v] for v in amp_base]).ravel()) freqs=list(freqs)*n STN_amp_mod=[3.]#range(1, 6, 2) num_runs=len(freqs)*len(STN_amp_mod)*len(op.get()) num_sims=NUM_NETS*num_runs kwargs={ 'amp_base':amp_base, 'Builder':Builder, 'cores_milner':40*1, 'cores_superm':2, 'debug':False, 'do_runs':range(num_runs), #A run for each perturbation 'do_obj':False, 'external_input_mod':['EI','EA'],
'labels':['D1,D2 puls=5',], 'laptime':1000.0, 'local_threads_milner':40, 'local_threads_superm':4, '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':[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, }
from scripts_inhibition.base_simulate import ( get_path_logs, get_args_list_inhibition, get_kwargs_list_indv_nets, par_process_and_thread, pert_set_data_path_to_milner_on_supermicro, pert_add_inhibition) import scripts_inhibition.base_inhibition_striatum as module import oscillation_perturbations34_slow as op import pprint pp = pprint.pprint FILE_NAME = __file__.split('/')[-1][0:-3] FROM_DISK_0 = 0 LOAD_MILNER_ON_SUPERMICRO = False NUM_NETS = 1 NUM_RUNS = len(op.get()) #A run for each perturbation num_sim = NUM_NETS * NUM_RUNS kwargs = { 'Builder': Builder, 'cores_milner': 40 * 1, 'cores_superm': 4, 'file_name': FILE_NAME, 'from_disk': 0, 'debug': False, 'do_runs': range(NUM_RUNS), #A run for each perturbation 'do_obj': False, 'i0': FROM_DISK_0, 'job_name': 'inh_YYY', 'l_hours': ['00', '00', '00'], 'l_minutes': ['15', '10', '5'],