def __init__(self): Simulation.__init__(self) # Used by the super save and load function. self.set_name("sphere") self.debug = False self.run_param['N'] = 1000 self.run_param['R'] = 50 self.run_param['sigma'] = 0.3 self.run_param['ext_method'] = 'som_as_point' self.run_param['seed'] = 1234 self.process_param['amp_option'] = 'both' self.process_param['pre_dur'] = 16.7 * 0.5 self.process_param['post_dur'] = 16.7 * 0.5 self.process_param['threshold'] = 3 self.process_param['width_half_thresh'] = 0.5 self.process_param['bins'] = 11 self.process_param['spike_to_measure'] = 0 self.process_param['assert_width'] = False self.process_param['assert_width_I_low'] = 0.2 # ms self.process_param['assert_width_I_high'] = 3 # ms self.process_param['assert_width_II_low'] = 0.1 # ms self.process_param['assert_width_II_high'] = 2.0 # ms self.plot_param['elec_to_plot'] = [] self.plot_param['use_tex'] = True
def __init__(self): Simulation.__init__(self) # Used by the super save and load function. self.set_name("grid_x_y") # Used by the custom simulate and plot function. self.run_param['n_elec_x'] = 11 self.run_param['n_elec_y'] = 11 self.run_param['x_lim'] = [-100, 100] self.run_param['y_lim'] = [-100, 100] self.run_param['ext_method'] = 'som_as_point' self.process_param['amp_option'] = 'both' self.process_param['pre_dur'] = 16.7 * 0.5 self.process_param['post_dur'] = 16.7 * 0.5 self.process_param['threshold'] = 4 # Index of the spike to measure from. self.process_param['spike_to_measure'] = 0 self.plot_param['use_tex'] = True
def __init__(self): Simulation.__init__(self) # Used by the super save and load function. self.set_name("widthdef") self.verbose = False self.run_param['sigma'] = 0.3 self.run_param['ext_method'] = 'som_as_point' self.run_param['r'] = 50 # self.run_param['random_elec'] = True self.run_param['N'] = 1 self.run_param['seed'] = 1234 self.process_param['amp_option'] = 'both' self.process_param['pre_dur'] = 16.7 * 0.5 self.process_param['post_dur'] = 16.7 * 0.5 self.process_param['threshold'] = 4 # Index of the spike to measure from. self.process_param['spike_to_measure'] = 0 self.plot_param['freq_end'] = 3*pq.kHz self.plot_param['use_tex'] = True
def __init__(self): Simulation.__init__(self) # Used by the super save and load function. self.set_name("sym") self.verbose = False self.run_param['n'] = 9 self.run_param['n_phi'] = 8 self.run_param['theta'] = [10, 50, 90, 130, 170] self.run_param['R'] = 50 self.run_param['sigma'] = 0.3 self.run_param['R_0'] = 10 self.run_param['ext_method'] = 'som_as_point' self.process_param['amp_option'] = 'both' self.process_param['pre_dur'] = 16.7 * 0.5 self.process_param['post_dur'] = 16.7 * 0.5 self.process_param['threshold'] = 4 # Index of the spike to measure from. self.process_param['spike_to_measure'] = 0 self.plot_param['plot_detailed'] = False # kHz. self.plot_param['freq_end'] = None