brian-team/brian2 — pull request #116 by mstimberg (2013-09-17 12:05:27+00:00)
Title: Refractoriness always in threshold.py

This implements the automatic addition of "not_refractory" to the threshold condition. It also shows a problem with this approach, though: `PoissonGroup` doesn't use the refractory period but since `not_refractory` is reset in the state updater, it needs a crazy almost empty state updater to reset the `not_refractory` variable at every time step. Obviously we want to handle this better, maybe specific templates for thresholds/state updates without refractoriness.