Skip to main content

Python Module for Book 4020

Project description

CompNeuro

Lint Test Publish PyPI PyTest Coverage

This Module provides source code for Book Chapters and Notebooks for 4020.

  • Free software: BSD-3 license

Features

  • Utility functions for signal generation, spectral analysis, spike plotting, and other plotting functionalities

  • CPU-based simulation and analysis of dynamical system models

  • Interactive plotting of results using Bokeh.

Installation

To install the lastest version on PyPI, run the following code:

pip install compneuro

This will install all the necessary requirements as specified in the setup.py file. However, you will need to install NodeJS with version greater than 14.0 to make sure that the custom Bokeh 3d plotting capability renders correctly in Jupyter. For installing NodeJS, you should follow instructions on their official website.

For development, see below.

Development

Make sure you install NodeJS first. Afterwards, you can install the package including the requirements by executing:

pip install -e .[dev]

If you want to work on distributing the package, you will need to install a few additional packages, which can be done by running:

pip install -e .[dist]

Before committing, use black to format the python code by running

black compneuro

For each utility function added, make sure you add a test function in the compneuro/tests folder. All tests should be written using pytest.

You can also run all tests by running:

py.test

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2021-06-20)

  • First release on PyPI.

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

compneuro-0.1.2.tar.gz (41.5 kB view hashes)

Uploaded Source

Built Distribution

compneuro-0.1.2-py2.py3-none-any.whl (36.2 kB view hashes)

Uploaded Python 2 Python 3

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