Пример #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