[nengo-user] saving new scripts

Trevor Bekolay tbekolay at gmail.com
Tue Jan 31 11:22:13 EST 2017


Sorry about that, the correct Nengo forum URL is https://forum.nengo.ai/.

As for the x[:2] notation, this is called "slice notation"; this
stackoverflow threads explains it well in a few different ways:
http://stackoverflow.com/questions/509211/explain-pythons-slice-notation

- Trevor

On Tue, Jan 31, 2017 at 11:19 AM, Howard Crystal <
Howard.Crystal at downstate.edu> wrote:

> Chris -
>
> When I click on http://nengo.forums.ai I get
>
> *nengo.forums.ai <http://nengo.forums.ai>*’s server DNS address could not
> be found.
>
> I have the ff. specific question.  Where should I send it?
>
> In the controlled oscillator model, I'm trying to understand the notation
>
>  nengo.Connection(x, x[:2], synapse=synapse, function=oscillator)
>
> and specifically the x[:2] notation
>
> I would have thought that nengo.Connection(x[0],x[1], synapse = synapse,
> function = oscillator) would have worked but it gives me an error message I
> don't understand
>
> I looked at the docs for Connection and that didn;t seem to help
>
>
> Thanks
>
> Howard
>
>
>
> Howard Crystal, MD
> Professor of Neurology, Pathology, and Psychiatry
> SUNY Downstate
> P: 718-270-2748, F: 718-221-5761
>
>
>
> From:        Chris Eliasmith <celiasmith at uwaterloo.ca>
> To:        Howard Crystal <Howard.Crystal at downstate.edu>,
> Cc:        nengo-user <nengo-user at ctnsrv.uwaterloo.ca>
> Date:        12/22/2016 04:49 PM
> Subject:        Re: [nengo-user] saving new scripts
> ------------------------------
>
>
>
> Hi Howard,
>
> Thanks for your question.  The short answer is that in the gui, above the
> script on the right side there is a button; an old floppy disk with a down
> arrow.  Clicking that will save your file.  Then you can load it as any
> other script.
>
> We're now encouraging people with questions to use
> *http://nengo.forums.ai* <http://nengo.forums.ai/> as this list is being
> shut down.
>
> best, .c
>
>
> Howard Crystal wrote:
> Hi -
>
> In nengo 2.0
>
> If I load a file from the open icon, it runs perfectly.
>
> I can modify the script on the right easily enough, but nothing seems to
> happen to that script.  I can neither figure out how to load it nor save it.
>
> Is there a simpler way than having to learn about python notebooks?
>
> Thanks
>
> Howard
>
>
> Howard Crystal, MD
> Professor of Neurology, Pathology, and Psychiatry
> SUNY Downstate
> P: 718-270-2748, F: 718-221-5761
>
>
> _______________________________________________
> 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/20170131/1eb80b74/attachment-0002.html>


More information about the nengo-user mailing list