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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file compneuro-0.1.2.tar.gz.

File metadata

  • Download URL: compneuro-0.1.2.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for compneuro-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4e1e69e3206ee4e9263c6c51fd0be31d44cc4d068de0111d60660a189533091a
MD5 8b2151dd0e9a421c74aa75c954002dbe
BLAKE2b-256 498219401ab5251b027d3e62f41c27784c9ef5ff6cebf59f516aeb6150f86c8c

See more details on using hashes here.

File details

Details for the file compneuro-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: compneuro-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for compneuro-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 380084cb4402b93351897b12c2195d75885ed5c518bc909583969c318d3d5581
MD5 302c27c736f1efa749b0bf0690727e5f
BLAKE2b-256 b02a85b2f37c9fc129e7314203b0db13cade6934b2308a28b980a59a57e59797

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