Refractory period not working

This looks like it ought to work and it’s a very straightforward example so I’m a bit confused. I can see two things that might be relevant.

  1. Something to do with the self.L1 = .... You have to be a little bit careful about namespaces when you’re attaching objects to a class. Can you reproduce the same problem when it’s not part of a class?
  2. You said that ge and gi are being incremented when there’s an incoming spike, but that’s correct for the code you’ve written because it’s only v that has (unless refractory) added. Can you confirm that ge and gi are being incremented if you add (unless refractory) after them?
1 Like