<div dir="ltr">Hi Néstor,<div><br></div><div>Your script works with the current development version of Nengo. We've changed a lot about how we do noise in Nengo between the currently released version (2.0.1) and the new version about to be released (2.1). Try doing a "Developer Install" (see the README for the Nengo project <a href="https://github.com/nengo/nengo">here</a>) so that you can use the current Nengo version.</div><div><br></div><div>Best,</div><div>Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 October 2015 at 07:06, Néstor Rueda(Universidad Nacional) <span dir="ltr"><<a href="mailto:nmruedap@unal.edu.co" target="_blank">nmruedap@unal.edu.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, </div><div dir="ltr"><br></div><div dir="ltr">When, I run the attachment file (2D_decision_integrator.py based on the example created for notebook ipython sent by Chris Eliasmith), I have the next error:</div><div dir="ltr"><br></div><div dir="ltr">line 21, in <module></div><div dir="ltr"> MT = nengo.Ensemble(100, dimensions=2, noise=WhiteNoise(dist=Uniform(-0.3,0.3)))</div><div dir="ltr">TypeError: __init__() got an unexpected keyword argument 'dist'</div><div dir="ltr"><br></div><div dir="ltr">This error stems from lines 21 to 23:</div><div dir="ltr"><br></div><div dir="ltr"> MT = nengo.Ensemble(100, dimensions=2, noise=WhiteNoise(dist=Uniform(-0.3,0.3)))</div><div dir="ltr"> LIP = nengo.Ensemble(200, dimensions=2, noise=WhiteNoise(dist=Uniform(-0.3,0.3)))</div><div dir="ltr"> output = nengo.Ensemble(100, dimensions=2, noise=WhiteNoise(dist=Uniform(-0.3,0.3)))</div><div dir="ltr"><br></div><div dir="ltr">But if i replace the noise parameter with </div><div dir="ltr"><br></div><div dir="ltr">noise=nengo.processes.WhiteNoise(duration=6.0)</div><div dir="ltr"><br></div><div dir="ltr">the program work's but the output doesnt't have noise.</div><div dir="ltr"><br></div><div dir="ltr">Can anyone tell me how to solve this problem? Many thanks in advance.</div><div dir="ltr"><br></div><div dir="ltr">Best regards,</div><div dir="ltr"><br></div><div dir="ltr">Néstor Mauricio RuedaPalacios</div><div dir="ltr">Master's Student in Computer Systems Engineer</div><div dir="ltr">National University of Colombia</div></div></div>
<br>_______________________________________________<br>
nengo-user mailing list<br>
<a href="mailto:nengo-user@ctnsrv.uwaterloo.ca">nengo-user@ctnsrv.uwaterloo.ca</a><br>
<a href="http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user" rel="noreferrer" target="_blank">http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user</a><br>
<br></blockquote></div><br></div>