{ "info": { "author": "The PyPe9 Team (see AUTHORS)", "author_email": "tom.g.close@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering" ], "description": "Pype9\n=====\n\n.. image:: https://travis-ci.org/NeuralEnsemble/pype9.svg?branch=master\n :target: https://travis-ci.org/NeuralEnsemble/pype9\n.. image:: https://coveralls.io/repos/github/NeuralEnsemble/pype9/badge.svg?branch=master\n :target: https://coveralls.io/github/NeuralEnsemble/pype9?branch=master\n.. image:: https://img.shields.io/pypi/pyversions/pype9.svg\n :target: https://pypi.python.org/pypi/pype9/\n :alt: Supported Python versions\n.. image:: https://img.shields.io/pypi/v/pype9.svg\n :target: https://pypi.python.org/pypi/pype9/\n :alt: Latest Version \n.. image:: https://readthedocs.org/projects/pype9/badge/?version=latest\n :target: http://pype9.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status \n\nPYthon PipelinEs for 9ML (Pype9) is a collection of Python pipelines\nfor simulating networks of neuron models described in NineML_ with various\nsimulator backends.\n\n\nLinks\n-----\n\n* Documentation: http://pype9.readthedocs.org\n* Mailing list: `NeuralEnsemble Google Group`_\n* Issue tracker: https://github.com/NeuralEnsemble/pype9/issues\n\n\nSupported Simulators\n--------------------\n\nPype9 works with either or both of the following simulator backends\n\n* Neuron_ >= 7.3\n* NEST_ >= 2.12.0\n\nDetailed instructions on how to install these simulators on different platforms\ncan be found in the `Installation documentation`_.\n\n\nUnsupported NineML\n------------------\n\nNineML_ aims to be a comprehensive description language for neural simulation. This\nmeans that it allows the expression of some uncommon configurations that are\ndifficult to implement in Neuron_ and NEST_. Work is planned to make the NEURON\nand NEST pipelines in Pype9 support NineML_ fully, however until then the\nfollowing restrictions apply to models that can be used with Pype9.\n\n* synapses must be linear\n* synapses can only have one variable that varies over a projection (e.g.\n weight)\n* no recurrent analog connections between populations (e.g. gap junctions)\n* only one event send port per cell\n* names given to NineML_ elements are not escaped and therefore can clash with\n built-in keywords and some PyPe9 method names (e.g. 'lambda' is a reserved\n keyword in Python). Please avoid using names that clash with C++ or Python\n keywords (NB: This will be fixed in future versions).\n\n\nExamples\n--------\n\nGiven a cell model described in NineML_ saved in\n``my_hodgkin_huxley.xml``, the simulator pipeline can run from the command line:\n\n.. code-block:: bash\n\n $ pype9 simulate my_hodgkin_huxley.xml#hh_props neuron 100.0 0.01 \\\n --play isyn isyn.neo.pkl --record v v.neo.pkl --init_value v -65.0 mV\n\nor in a Python script\n\n.. code-block:: python\n\n from pype9.simulator.neuron import cell, Simulation\n from nineml import units as un\n\n HodgkinHuxley = cell.MetaClass('my_hodgkin_huxley.xml#hh_class')\n with Simulation(dt=0.01 * un.ms, seed=1234) as sim: \n hh = HodgkinHuxley('my_hodgkin_huxley.xml#hh_props', v=-65.0 * un.mV)\n hh.record('v')\n sim.run(100.0 * un.ms)\n v = hh.recording('v')\n\nPype9 also supports network models described in NineML_ via integration with PyNN_\n\n.. code-block:: bash\n\n $ pype9 simulate brunel.xml nest 1000.0 0.01 \\\n --record Exc.spike_output Exc-nest.neo.pkl \\\n --record Inh.spike_output Inh-nest.neo.pkl \\\n --seed 12345\n\nor\n\n.. code-block:: python\n\n from pype9.simulator.neuron import Network, Simulation\n from nineml import units as un\n\n with Simulation(dt=0.01 * un.ms, seed=1234) as sim: \n brunel_ai = Network('brunel.xml#AI')\n brunel_ai.component_array('Exc').record('spike_output')\n brunel_ai.component_array('Inh').record('spike_output')\n sim.run(1000.0 * un.ms)\n exc_spikes = brunel_ai.component_array('Exc').recording('spike_output')\n inh_spikes = brunel_ai.component_array('Inh').recording('spike_output')\n\nSee `Creating Simulations in Python`_ in the Pype9 docs for more examples and pipelines.\n\nIn addition to the ``simulate`` command there is also a ``plot`` command for\nconveniently plotting the results of the simulation with Matplotlib_,\nand a ``convert`` command to convert NineML_ files between different serialization\nformats (XML, YAML, JSON and HDF5) and NineML_ versions (1.0 and 2.0dev). See the\ndocumentation for details.\n\n\n:copyright: Copyright 20012-2016 by the Pype9 team, see AUTHORS.\n:license: MIT, see LICENSE for details.\n\n.. _PyNN: http://neuralensemble.org/docs/PyNN/\n.. _`NeuralEnsemble Google Group`: https://groups.google.com/forum/#!forum/neuralensemble\n.. _Matplotlib: http://matplotlib.org\n.. _`Creating Simulations in Python`: http://pype9.readthedocs.io/latest/scripting.html\n.. _`Installation documentation`: http://pype9.readthedocs.io/en/latest/installation.html\n.. _NineML: http://nineml.net\n.. _NEST: https://nest-simulator.org\n.. _Neuron: https://neuron.yale.edu.au\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://readthedocs.io/pype9", "keywords": "NineML pipeline computational neuroscience modeling interoperability XML YAML JSON HDF5 9ML neuron nest", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pype9", "package_url": "https://pypi.org/project/pype9/", "platform": "", "project_url": "https://pypi.org/project/pype9/", "project_urls": { "Homepage": "http://readthedocs.io/pype9" }, "release_url": "https://pypi.org/project/pype9/0.2/", "requires_dist": [ "nineml (>=1.0)", "ninemlcatalog (>=0.1)", "sympy (>=1.1)", "Jinja2 (>=2.6)", "docutils (>=0.10)", "mock (>=1.0)", "numpy (>=1.5)", "quantities (>=0.11.1)", "neo (>=0.5.1)", "mpi4py (>=1.3.1)", "pyNN (>=0.9.1)", "lazyarray (>=0.2.7)", "diophantine (>=0.2.0)", "PyYAML (>=3.11)", "h5py (>=2.7.0)", "future (>=0.16)", "matplotlib (>=2.0); extra == 'plot'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "summary": "PYthon PipelinEs for 9ML (Pype9) is a collection of Python pipelines for simulating networks of neuron models described in 9ML with various simulator backends.", "version": "0.2" }, "last_serial": 3367790, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b5d104f3454b2edebdbdd8592426f90a", "sha256": "d7e63e31e199720859a1e4a2cd479ec583c7a63c0ccba47f6d3818c956805110" }, "downloads": -1, "filename": "pype9-0.1.tar.gz", "has_sig": false, "md5_digest": "b5d104f3454b2edebdbdd8592426f90a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 118423, "upload_time": "2017-11-27T11:12:56", "url": "https://files.pythonhosted.org/packages/e8/e1/705bd64520705381c81dc865ec701ccb3c1fa77680cf8b93266757261a77/pype9-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7c95d009ddf96fde435b41eaebcafdbe", "sha256": "9251a4bb8fd670e2041952ae85bd8e4675fbc6c60cfff393469718ec75f12fb8" }, "downloads": -1, "filename": "pype9-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c95d009ddf96fde435b41eaebcafdbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 245195, "upload_time": "2017-11-27T12:53:46", "url": "https://files.pythonhosted.org/packages/33/46/483dbaa574873d15cc65f04942b265ae7f9b76d536cc94831a1d096b9e90/pype9-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "453b09dbab2ad95c701d1c8e5733c6ad", "sha256": "c4942701e3729e96e2984e9cd828bd043a4f57ae749ee5bacfa27c6380966a64" }, "downloads": -1, "filename": "pype9-0.2.tar.gz", "has_sig": false, "md5_digest": "453b09dbab2ad95c701d1c8e5733c6ad", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 116089, "upload_time": "2017-11-27T12:53:48", "url": "https://files.pythonhosted.org/packages/76/09/28f22b2804dfa0896be38c2aaeb44628668c2d5a0efa6c5c28461d04eb3e/pype9-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c95d009ddf96fde435b41eaebcafdbe", "sha256": "9251a4bb8fd670e2041952ae85bd8e4675fbc6c60cfff393469718ec75f12fb8" }, "downloads": -1, "filename": "pype9-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c95d009ddf96fde435b41eaebcafdbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 245195, "upload_time": "2017-11-27T12:53:46", "url": "https://files.pythonhosted.org/packages/33/46/483dbaa574873d15cc65f04942b265ae7f9b76d536cc94831a1d096b9e90/pype9-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "453b09dbab2ad95c701d1c8e5733c6ad", "sha256": "c4942701e3729e96e2984e9cd828bd043a4f57ae749ee5bacfa27c6380966a64" }, "downloads": -1, "filename": "pype9-0.2.tar.gz", "has_sig": false, "md5_digest": "453b09dbab2ad95c701d1c8e5733c6ad", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 116089, "upload_time": "2017-11-27T12:53:48", "url": "https://files.pythonhosted.org/packages/76/09/28f22b2804dfa0896be38c2aaeb44628668c2d5a0efa6c5c28461d04eb3e/pype9-0.2.tar.gz" } ] }