[nengo-user] probe spike times instead of raster 0/1 per time point
Trevor Bekolay
tbekolay at gmail.com
Wed Feb 24 13:52:21 EST 2016
Hi Aditya,
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.
You can manually save your probes to disk (using, for example, numpy.savez;
see
http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.savez.html
) and then flush the probes as I've described in this issue:
https://github.com/nengo/nengo/issues/963
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:
- https://github.com/nengo/nengo/issues/447
- https://github.com/nengo/nengo/issues/613
Hope that helps!
Trevor
On Wed, Jan 27, 2016 at 9:34 AM, Aditya Gilra <aditya_gilra at yahoo.com>
wrote:
> Hi,
>
> Is there a way to probe LIF neurons for only a list of spiketimes instead
> of 0 or 1 at each time point?
> The raster style 0/1 takes up a lot of RAM, if I run for 200s.
>
> If not, is there a way to flush probes to disk either via Nengo or
> manually:
> for smalltime in arange(0,runtime,smalltimerange):
> simulator.run(smalltime)
> readout probes and save to disk
> clear probes
>
> Thanks a lot,
> Aditya.
>
> _______________________________________________
> 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/20160224/9ab7a4ff/attachment-0002.html>
More information about the nengo-user
mailing list