Skip to main content

KappaNEURON

KappaNEURON integrates the SpatialKappa simulator with NEURON to allow rule-based simulations of molecular systems embedded in neurons.

For example, the package facilitates simulation of dynamic models of the postsynaptic proteome in the context of the spine head.

KappNEURON demonstration simulation of postsynaptic proteome in context of spine head - first 6 seconds KappNEURON demonstration simulation of postsynaptic proteome in context of spine head - first 65 seconds

Publications

Please cite Sterratt & al. (2015) when using KappaNEURON:

Installation & testing

  1. Install NEURON v. 7.4 with python enabled using these instructions for Ubuntu 18.04

  2. Create a virtual environment:

    sudo apt install virtualenv
    virtualenv --python=python2.7 /tmp/KappaNEURON
    source /tmp/KappaNEURON/bin/activate
    
  3. Run pip install KappaNEURON

  4. Run an inital test:

    python2.7 -i -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalcium
    

    The test should return OK and the following figure window should appear KappNEURON result of test_injectCalcium The figure will be saved in PNG format to the directory test_figs.

  5. At present is not possible to run the entire test suite in one go, because completely clean tear down of the test environoment is not possible with the current version of KappaNEURON. Therefore individual tests can be run as follows:

     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumGHK
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPumpGHK
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump2
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_injectCalciumPump2k2
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_twoMembraneSpecies
     python2.7 -m unittest KappaNEURON.tests.TestCaAccumulation.test_twoMembraneSpeciesOneUncharged
    

    Most of these tests save figures to test_figs. The red ("mod") and blue ("kappa") curves in these figures should more-or-less overlap. The kappa curves will be more irregular, because of the stochstic simulation.

KappaNEURON has been tested on the following combinations of software:

KappaNEURON OS gcc Python Java py4j NEURON
0.1.0 Ubuntu 14.04 4.8.4 2.7 openjdk 7 0.10.4 trunk of NEURON mercurial repository on 2014-09-23
0.2.0 Ubuntu 14.04 4.8.4 2.7 openjdk 7 0.10.4 7.4 as of 2017-01-13
0.2.0 Ubuntu 16.04 5.4.0 2.7 openjdk 7 0.10.4 7.4 as of 2017-01-13
0.3.x Ubuntu 18.04 5.4.0 2.7 openjdk 7 0.10.4 7.4 as of 2017-01-13

Getting started

Code for the two demo simulations in Sterratt & al. (2015) paper are the demos subdirectory:

  1. Calcium pump in response to calcium pulse
  2. Ca-CaM-CaMKII pathway in the postsynaptic density

Authorship & License

KappaNEURON is Copyright © 2013-2014, 2017 David C. Sterratt <david.c.sterratt@ed.ac.uk> and is released under the GPL Version 3.

We thank Anatoly Sorokin for his help with SpatialKappa and Vincent Danos for helpful discussions.

Acknowledgements

The research leading to these results has received funding from the European Union Seventh Framework Programme (FP7/2007-2013) under grant agreement nos. 241498 (EUROSPIN project), 242167 (SynSys-project) and 604102 (Human Brain Project).

Metadata

Release files for KappaNEURON 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for KappaNEURON 0.3.2
File Size Uploaded Provenance Actions
KappaNEURON-0.3.2.tar.gz 5.2 MB Without provenance Details for KappaNEURON-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for KappaNEURON 0.3.2
File Interpreter ABI Platform Actions
KappaNEURON-0.3.2-py3-none-any.whl Python 3 none any Details for KappaNEURON-0.3.2-py3-none-any.whl

Total release size: 5.2 MB

Release files / KappaNEURON-0.3.2.tar.gz

Download URL KappaNEURON-0.3.2.tar.gz
Size 5.2 MB
Tags Source
SHA-256 checksum
How to use checksums
cd8bcca32987459c860a939191fa22ac35530f81afb443007a89981c49b8f108
BLAKE2b-256 checksum
How to use checksums
df5eb46638c97080e0b7669e25fa919195ae7da7453052a623896639e25036e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.8

Release files / KappaNEURON-0.3.2-py3-none-any.whl

Download URL KappaNEURON-0.3.2-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f1be17bbf1d798f89da7464eeb091baeaed67794be75fc62860ed867823952e
BLAKE2b-256 checksum
How to use checksums
4f5f6165bbc2a7cb860d413b04c360e7860e457cdfef916e18abbd60b25e746e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.8

Security for KappaNEURON 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page