<div dir="ltr">Hi Mehdi,<div><br></div><div>Unfortunately those instructions were for a version of the IPython notebook which is at this point pretty old. IPython is easier to plug into now, so it should be possible to update these instructions; but, the new version of Nengo is implemented in Python, which works well with IPython out of the box, so we haven't gone back and updated these instructions recently.</div><div><br></div><div>My suggestion for now is to just do what the javascript changes would have done manually. So, somewhere at the top of your notebook, do</div><div><br></div><div>from stats.ipython import run_in_nengo<br></div><div><br></div><div>and then when you want to run a Nengo 1.4 script, do:</div><div><br></div><div>run_in_nengo(''' # Replace below with your Nengo script</div><div> import nef</div><div> net=nef.Network('Test')</div><div> net.make('A',50,1)</div><div> net.make_input('input',{0: -1, 0.2: -0.5, 0.4:0, 0.6:0.5, 0.8:1.0})</div><div> net.connect('input','A')</div><div> log=net.log()</div><div> log.add('input',tau=0)</div><div> log.add('A')</div><div> net.run(1.0)</div><div>''')</div><div><br></div><div>The rest of that document should work from that point onwards.</div><div><br></div><div>Sorry about the Nengo 1.4 rough edges! We're hoping to get Nengo 2 out the door soon, which should be much easier to interact with in the notebook!</div><div><br></div><div>- Trevor</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 4:18 PM, mehdi daemi <span dir="ltr"><<a href="mailto:daemi@yorku.ca" target="_blank">daemi@yorku.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi, </div><div><br></div><div>I was using the link "<i><a href="http://www.nengo.ca/docs/html/advanced/ipython_notebook.html" target="_blank">http://www.nengo.ca/docs/html/advanced/ipython_notebook.html</a>" </i>for integrating Nengo wtih IPython. </div><div>In the third section called "Telling IPython to use Nengo", I can't find the directory "<span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;line-height:20.7999992370605px;text-align:justify;background-color:rgb(236,240,243)"><i>IPython/frontend/html/notebook/static/js</i></span>". I find the file <i>notebook.js</i> in directory "<i>IPython\html\static\notebook\js</i>", but I can't find the code which should be changed in this file. Can you please help me with this?</div><div><br></div><div>Thanks, </div><span class=""><font color="#888888">-- <br><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">Mehdi Daemi</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">PhD Student in Biology</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">Crawford Visuomotor Neuroscience Lab</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">Centre for Vision Research</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">York University, 4700 Keele Street, Toronto, Ontario, Canada, M3J 1P3</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">Email: <a href="mailto:daemi@yorku.ca" target="_blank">daemi@yorku.ca</a></span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.7272720336914px;background-color:rgb(255,255,255)">
</font></span></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" target="_blank">http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user</a><br>
<br></blockquote></div><br></div></div>