Skip to main content

Tools for robust dynamics in Nengo

Project description

Nengolib Logo Build Status Code Coverage

import nengolib

Additional extensions and tools for modelling dynamical systems in Nengo.

Documentation

This project’s documentation is hosted on GitHub.IO: https://arvoelke.github.io/nengolib-docs/.

Development

To install the development version of nengolib:

git clone https://github.com/arvoelke/nengolib
cd nengolib
python setup.py develop

Notebooks can be run manually in docs/notebooks by running:

pip install jupyter
jupyter notebook

Release History

0.5.0 (March 9, 2019)

Tested against Nengo versions 2.2.0-2.8.0. We now require numpy>=1.13.0, scipy>=0.19.0, and nengo>=2.2.0.

Added

  • Added the nengolib.RLS() recursive least-squares (RLS) learning rule. This can be substituted for nengo.PES(). See notebooks/examples/full_force_learning.ipynb for an example that uses this to implement spiking FORCE in Nengo. (#133)

  • Added the nengolib.stats.Rd() method for quasi-random sampling of arbitrarily high-dimensional vectors. It is now the default method for scattered sampling of encoders and evaluation points. The method can be manually switched back to nengolib.stats.Sobol(). (#153)

  • Added the nengolib.neuron.init_lif(sim, ens) helper function for initializing the neural state of a LIF ensemble, from within a simulator block, to represent 0 uniformly at the start. (#156)

  • Added nengolib.synapses.LegendreDelay as an alternative to nengolib.synapses.PadeDelay – it has an equivalent transfer function but a state-space realization corresponding to the shifted Legendre basis. The network nengolib.networks.RollingWindow support legendre=True to make this system the default realization. (#161)

Fixed

  • Release no longer requires pytest. (#156)

0.4.2 (May 18, 2018)

Tested against Nengo versions 2.1.0-2.7.0.

Added

  • Solving for connection weights by accounting for the neural dynamics. To use, pass in nengolib.Temporal() to nengo.Connection for the solver parameter. Requires nengo>=2.5.0. (#137)

0.4.1 (December 5, 2017)

Tested against Nengo versions 2.1.0-2.6.0.

Fixed

  • Compatible with newest SciPy release (1.0.0). (#130)

0.4.0b (June 7, 2017)

Initial beta release of nengolib. Tested against Nengo versions 2.1.0-2.4.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nengolib-0.5.0.tar.gz (157.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nengolib-0.5.0-py2.py3-none-any.whl (117.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nengolib-0.5.0.tar.gz.

File metadata

  • Download URL: nengolib-0.5.0.tar.gz
  • Upload date:
  • Size: 157.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7

File hashes

Hashes for nengolib-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4a59f1cebcb24e08125e18d974a85636f6a0d90c79144994d3f565e885fcf52d
MD5 f5948aabb81a03ff1430a1b44b0f1368
BLAKE2b-256 52040989ac2b64e02203b16e21fa77b2c529041caf692875a2dee05c9965250d

See more details on using hashes here.

File details

Details for the file nengolib-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nengolib-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 117.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7

File hashes

Hashes for nengolib-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c66864ec87a6a3834ce71ffe50295eca68226d650198e56ed47dfc52a21ebaf3
MD5 d373404b09019311ad523c017e788e97
BLAKE2b-256 ad49c995db335a36c8ba53d8184adf25e1faf659b956d9158bf29d54adaaa502

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page