def __init__(self): Model.__init__(self, labels=["Time (ms)", "Voltage (mV)"]) time_end = 100 self.dt = 0.25 self.v0 = -70 self.time = np.linspace(0, time_end, time_end / self.dt) self.info = {"stimulus_start": 10, "stimulus_end": time_end}
def __init__(self): Model.__init__(self, labels=["Time (ms)", "Voltage (mV)"]) ## HH Parameters self.V_rest = -65 # mV self.Cm = 1 # uF/cm**2 self.gbar_Na = 120 # mS/cm**2 self.gbar_K = 36 # mS/cm**2 self.gbar_l = 0.3 # mS/cm**2 self.E_Na = 50 # mV self.E_K = -77 # mV self.E_l = -54.4 # mV ## setup parameters and state variables self.I_value = 15 T = 23 # ms dt = 0.025 # ms self.time = np.arange(0, T + dt, dt)
def __init__(self): Model.__init__(self, labels=["y"])
def __init__(self): Model.__init__(self, labels=["y"], logger_level=None)