def __init__(self, g_inh=0.001, info=None, position=None, system=None): win.window.__init__(self, position) self.coupling_strength = g_inh*np.ones((6), float) self.COUPLING_LOCKED = True self.info = info self.system = system self.ax = self.fig.add_axes([-0.12, -0.1, 1.1, 1.33]) tl.three_cells_alt(self.coupling_strength, ax=self.ax) self.show_coupling() self.fig.canvas.mpl_connect('button_press_event', self.on_button) self.fig.canvas.mpl_connect('button_release_event', self.off_button) self.fig.canvas.mpl_connect('axes_enter_event', self.focus_in)
def __init__(self, g_inh=0.005, info=None, position=None, system=None): win.window.__init__(self, position) self.coupling_strength = g_inh*np.ones((6), float) self.COUPLING_LOCKED = True self.info = info self.system = system self.ax = self.fig.add_axes([-0.12, -0.1, 1.1, 1.33]) tl.three_cells_alt(self.coupling_strength, ax=self.ax) self.show_coupling() self.fig.canvas.mpl_connect('button_press_event', self.on_button) self.fig.canvas.mpl_connect('button_release_event', self.off_button) self.fig.canvas.mpl_connect('axes_enter_event', self.focus_in)
def __init__(self, g_inh=0.01, info=None, position=None): win.window.__init__(self, position) self.coupling_strength = g_inh*np.ones((6), float) self.COUPLING_LOCKED = True self.info = info self.traces = None self.ax = self.fig.add_axes([-0.12, -0.1, 1.1, 1.33]) tl.three_cells_alt(1000.*self.coupling_strength, ax=self.ax) self.ax.text(0.2, 0.1, 'inhibitory coupling strength in pS', fontsize=14) self.show_coupling() self.fig.canvas.mpl_connect('button_press_event', self.on_button) self.fig.canvas.mpl_connect('button_release_event', self.off_button) self.fig.canvas.mpl_connect('axes_enter_event', self.focus_in)
def __init__(self, g_inh=0.01, info=None, position=None): win.window.__init__(self, position) self.coupling_strength = g_inh * np.ones((6), float) self.COUPLING_LOCKED = True self.info = info self.traces = None self.ax = self.fig.add_axes([-0.12, -0.1, 1.1, 1.33]) tl.three_cells_alt(1000. * self.coupling_strength, ax=self.ax) self.ax.text(0.2, 0.1, 'inhibitory coupling strength in pS', fontsize=14) self.show_coupling() self.fig.canvas.mpl_connect('button_press_event', self.on_button) self.fig.canvas.mpl_connect('button_release_event', self.off_button) self.fig.canvas.mpl_connect('axes_enter_event', self.focus_in)
def __init__(self, g_inh=0.03, info=None, position=None): self.coupling_strength = g_inh*np.ones((6), float) self.COUPLING_LOCKED = True self.info = info self.fig = pl.figure('Network', figsize=(5, 3), facecolor='#EEEEEE') self.ax = self.fig.add_axes([-0.12, -0.1, 1.1, 1.33]) tl.three_cells_alt(self.coupling_strength, ax=self.ax) self.show_coupling() self.fig.canvas.mpl_connect('button_press_event', self.on_button) self.fig.canvas.mpl_connect('button_release_event', self.off_button) self.fig.canvas.mpl_connect('axes_enter_event', self.focus_in) if not position == None: try: self.fig.canvas.manager.window.wm_geometry(position) except: pass