示例#1
0
    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)
示例#2
0
 def __init__(self, b):
     System.__init__(self, np.array([0.0, 0.0]))
     self.b = b
示例#3
0
 def __init__(self, initialState):
     System.__init__(self, initialState)
     self.I = lambda (x): 0.0