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

Néstor Rueda(Universidad Nacional) nmruedap at unal.edu.co
Thu Oct 8 13:02:53 EDT 2015


Thank you Eric, the "Developer Install" has solved the problem.

Best regards,

Néstor Mauricio Rueda Palacios
Master's Student in Computer Systems Engineer
National University of Colombia



On Wed, Oct 7, 2015 at 10:22 AM, Eric Hunsberger <erichuns at gmail.com> wrote:

> Hi Néstor,
>
> 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 here
> <https://github.com/nengo/nengo>) so that you can use the current Nengo
> version.
>
> Best,
> Eric
>
> On 7 October 2015 at 07:06, Néstor Rueda(Universidad Nacional) <
> nmruedap at unal.edu.co> wrote:
>
>> Hi,
>>
>> 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:
>>
>> 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
>>
>> _______________________________________________
>> nengo-user mailing list
>> nengo-user at ctnsrv.uwaterloo.ca
>> http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20151008/548fa714/attachment-0002.html>


More information about the nengo-user mailing list