Saving connection weights

@nrofis, you can save the connection weights learned with the PES learning rule using either of the methods below:

  • Using a nengo.Probe:
with model:
    nengo.Probe(conn, "weights")
  • Accessing the signal value directly:
with nengo.Simulator(model) as sim:
    sim.signals[sim.model.sig[conn]["weights"]]

I discuss the use of these two methods in this forum post.