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.2 (September 10, 2019)

Fixed

  • Solved an issue where scipy.misc imports were relocated. (#182)

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.2.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

nengolib-0.5.2-py2.py3-none-any.whl (117.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: nengolib-0.5.2.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • 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.8

File hashes

Hashes for nengolib-0.5.2.tar.gz
Algorithm Hash digest
SHA256 62705dd0b71c0f5bf7209e5067358dea976dcd1944680899defa518f04f4508f
MD5 9a927e2bdb9f14fc642bbcb2a04ef382
BLAKE2b-256 ba072745ae4e43d5cd4cce1c580bc60fb9747b71a775a8cfaf35248774d62ba7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nengolib-0.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 117.7 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.8

File hashes

Hashes for nengolib-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d3566d27e6263111a987ee3bd8372ec60417453c03b1e0276c5e95b39ae5831
MD5 7a88640931f14262e2e4944edbf6e3a0
BLAKE2b-256 da0062bbce813d135da3799f4afc26957d942d4ae27085fb0df1bfb57dcf692b

See more details on using hashes here.

Supported by

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