Ejemplo n.º 1
0
 def _set(self, val):
     try:
         nest.SetKernelStatus({name: dtype(val)})
     except nest.kernel.NESTError as e:
         reraise(e, "%s = %s (%s)" % (name, val, type(val)))
Ejemplo n.º 2
0
 def _set(self, val):
     try:
         nest.SetKernelStatus({name: dtype(val)})
     except nest.NESTError as e:
         reraise(e, "%s = %s (%s)" % (name, val, type(val)))