[nengo-user] Problem with WhiteNoise - - 2D decision integrator (Nengo 2 Tutorials Chapter 8)

Néstor Rueda(Universidad Nacional) nmruedap at unal.edu.co
Wed Oct 7 07:04:36 EDT 2015


Hi,

When, I run the attachment file (2D_decision_integrator.py based on the
example - chapter8 sent by Chris Eliasmith link
<https://github.com/s72sue/Nengo2-Tutorials/tree/notebook_tutorials/chapter8>),
I have the next error:

line 21, in <module>
    MT = nengo.Ensemble(100, dimensions=2,
noise=WhiteNoise(dist=Uniform(-0.3,0.3)))
TypeError: __init__() got an unexpected keyword argument 'dist'

This error stems from lines 21 to 23:

    MT = nengo.Ensemble(100, dimensions=2,
noise=WhiteNoise(dist=Uniform(-0.3,0.3)))
    LIP = nengo.Ensemble(200, dimensions=2,
noise=WhiteNoise(dist=Uniform(-0.3,0.3)))
    output = nengo.Ensemble(100, dimensions=2,
noise=WhiteNoise(dist=Uniform(-0.3,0.3)))

But if i replace the noise parameter with

noise=nengo.processes.WhiteNoise(duration=6.0)

the program work's but the output doesnt't have noise.

Can anyone tell me how to solve this problem? Many thanks in advance.

Best regards,

Néstor Mauricio RuedaPalacios
Master's Student in Computer Systems Engineer
National University of Colombia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20151007/f9163d33/attachment-0002.html>


More information about the nengo-user mailing list