<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi<div>I am trying to create a network consisting of two ensembles with the connection learned by the STDP rule explained in Bekolay (2010). This is my code (constructed from the documentation listing the network class properties and functions):</div><div><div>import nef</div><div>net=nef.Network('Test Network')</div><div>net.add_to_nengo()</div><div>#net.make_input('input',values=[0])</div><div>A = net.make('A',neurons=1,dimensions=1)</div><div>B = net.make('B',neurons=1,dimensions=1)</div><div>#net.connect('input','A')</div><div>net.connect(A,B, plastic_array=True)</div></div><div><br></div><div>When I run this code I get an error saying:</div><div>AttributeError: 'ca.nengo.model.nef.impl.NEFEnsembleImpl' object has no attribute 'addPlasticTermination'</div><div><br></div><div>Have I misunderstood something about making the connection?</div><div>Regards</div><div>Claus Agerskov, Technical University of Denmark, Biophysics and Fluids group</div><h3 style="border: 0px; margin: 0px; padding: 0px; font-size: 15px; color: rgb(51, 51, 51); font-family: Arial, Verdana, sans-serif; line-height: 19.8899993896484px;"><br></h3>                                           </div></body>
</html>