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.1 (April 17, 2019)

Tested against Nengo versions 2.2.0-2.8.0. Requires nengo<3.0.

Fixed

  • A variety of miscellaneous fixes were made to the documentation. The nengolib.networks.RollingWindow documentation references the shifted Legendre polynomial equations for legendre == True. (#176)

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.1.tar.gz (436.6 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.1-py2.py3-none-any.whl (117.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: nengolib-0.5.1.tar.gz
  • Upload date:
  • Size: 436.6 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.1.tar.gz
Algorithm Hash digest
SHA256 3b23294b3985780bbb2d0ce0992f5dd22c6749486b3a3d9c1ba3111a5b56032f
MD5 23c4d68f1df3cd6e34a08faa73308068
BLAKE2b-256 9b5c92dd0941c869a3e2b45d578c55afd23036c39a3b7587f1336039e7784c98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nengolib-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 117.6 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30eb6984e0e9aa91dce01a27e645dbd0413d7197299914a2c77fcf387e691801
MD5 a8a29bfed742b476ff176656c6885d24
BLAKE2b-256 3e9986ba7931a654a62d50ce40e65fa3ebc88b711322b71867ab27b71a1ceba6

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