def __init__(self, params=None): if params == None: params = self.getDefaultParams() istate = np.array([-0.060, 0, 0, 0]) Neuron.__init__(self) System.__init__(self, istate, self.rhs, params)
def __init__(self, b): System.__init__(self, np.array([0.0, 0.0])) self.b = b
def __init__(self, initialState): System.__init__(self, initialState) self.I = lambda (x): 0.0