Exemplo n.º 1
0
 def __init__(self, expr='', level=0, **kwds):
     self._eventdriven={} # dictionary event driven variables (RHS)
     # might be set to True in the Synapses __init__ function if the model
     # equations refer to variables in the pre- or postsynaptic group.
     # In this case, the model is never linear
     self.refers_others = False
     Equations.__init__(self, expr, level=level+1, **kwds)
Exemplo n.º 2
0
 def __init__(self, expr='', level=0, **kwds):
     self._eventdriven = {}  # dictionary event driven variables (RHS)
     # might be set to True in the Synapses __init__ function if the model
     # equations refer to variables in the pre- or postsynaptic group.
     # In this case, the model is never linear
     self.refers_others = False
     Equations.__init__(self, expr, level=level + 1, **kwds)