How to implement a PopulationStateMonitor?

Hi @paulbrodersen. I’d love to get this implemented, and I’ll answer you in more detail tomorrow, but for now please have a look at my answer here: Is there a way to monitor the _average_ membrane potential of a group of neurons? - #3 by mstimberg (which is in reply to a very similar question)