brian
brian copied to clipboard
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.