pkgsrc-wip/py-pynn/Makefile
Kamel Ibn Aziz Derouiche 30a41583b7 Import py27-pynn-0.7.5 as wip/py-pynn.
In other words, you can write the code for a model once, using the PyNN API
and the Python programming language, and then run it without modification on
any simulator that PyNN supports (currently NEURON, NEST, PCSIM and Brian).

The API has two parts, a low-level, procedural API (functions ``create()``,
``connect()``, ``set()``, ``record()``, ``record_v()``), and a high-level,
object-oriented API (classes ``Population`` and ``Projection``, which have
methods like ``set()``, ``record()``, ``setWeights()``, etc.).

The low-level API is good for small networks, and perhaps gives more flexibility
The high-level API is good for hiding the details and the book-keeping, allowing
you to concentrate on the overall structure of your model.

The other thing that is required to write a model once and run it on multiple
simulators is standard cell and synapse models. PyNN translates standard
cell-model names and parameter names into simulator-specific names, e.g.
standard model ``IF_curr_alpha`` is ``iaf_neuron`` in NEST and ``StandardIF``
in NEURON, while ``SpikeSourcePoisson`` is a ``poisson_generator`` in NEST
and a ``NetStim`` in NEURON.
2013-09-20 10:12:02 +00:00

23 lines
653 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/09/20 10:12:02 jihbed Exp $
DISTNAME= PyNN-0.7.5
PKGNAME= ${PYPKGPREFIX}-pynn-0.7.5
CATEGORIES= biology
MASTER_SITES= https://pypi.python.org/packages/source/P/PyNN/
FETCH_USING= curl
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= https://neuralensemble.org/trac/PyNN/wiki
COMMENT= Python package for neuronal network models
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
INSTALLATION_DIRS= share/doc/py-pynn
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/py-pynn
.include "../../lang/python/extension.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"