<div dir="ltr">Hi Aditya,<div><br></div><div>Apologies for the slow response! Unfortunately we haven't yet added a way to get a list of spiketimes instead of the raster style representation we have right now.</div><div><br></div><div>You can manually save your probes to disk (using, for example, numpy.savez; see <a href="http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.savez.html">http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.savez.html</a> ) and then flush the probes as I've described in this issue: <a href="https://github.com/nengo/nengo/issues/963">https://github.com/nengo/nengo/issues/963</a></div><div><br></div><div>But yes, we will (hopefully soon!) be implementing some additional tools to automatically save simulations to disk, and to use lists of spiketimes instead of rasters. A few issues tracking these things, if you're interested, are:</div><div>- <a href="https://github.com/nengo/nengo/issues/447">https://github.com/nengo/nengo/issues/447</a></div><div>- <a href="https://github.com/nengo/nengo/issues/613">https://github.com/nengo/nengo/issues/613</a></div><div><br></div><div>Hope that helps!</div><div>Trevor</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 27, 2016 at 9:34 AM, Aditya Gilra <span dir="ltr"><<a href="mailto:aditya_gilra@yahoo.com" target="_blank">aditya_gilra@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:14px"><div>Hi,</div><div><br></div><div dir="ltr">Is there a way to probe LIF neurons for only a list of spiketimes instead of 0 or 1 at each time point?</div><div dir="ltr">The raster style 0/1 takes up a lot of RAM, if I run for 200s.</div><div dir="ltr"><br></div><div dir="ltr">If not, is there a way to flush probes to disk either via Nengo or manually:</div><div dir="ltr">for smalltime in arange(0,runtime,smalltimerange):</div><div dir="ltr"> simulator.run(smalltime)<br></div><div dir="ltr"> readout probes and save to disk<br></div><div dir="ltr"> clear probes</div><div dir="ltr"><br></div><div dir="ltr">Thanks a lot,</div><div dir="ltr">Aditya.</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>