brian-team/brian — pull request #2 by exilef (2014-05-19 19:37:54+00:00)
Title: Allow simple saving/loading of synaptic variables via Synapses.save_connectivity/load_connectivity

Added optional argument synaptic_vars to Synapses.save_connectivity that may contain a list of strings of synaptic variables that are then saved to the file along with the synaptic indices. Variables saved in this way are automatically restored by load_connectivity.