Brian is a simulator for spiking neural networks available on almost all

platforms. The motivation for this project is that a simulator should
not only save the time of processors, but also the time of scientists.

Brian is easy to learn and use, highly flexible and easily extensible.
The Brian package itself and simulations using it are all written in
the Python programming language, which is an easy, concise and highly
developed language with many advanced features and development tools,
excellent documentation and a large community of users providing support
and extension packages.

WWW:  http://www.briansimulator.org/

PR:		ports/132155
Submitted by:	Wen Heping <wenheping@gmail.com>
This commit is contained in:
Martin Wilke 2009-03-16 06:07:37 +00:00
parent b2a42b6d4e
commit 10b7f51c54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230182
5 changed files with 263 additions and 0 deletions

View file

@ -12,6 +12,7 @@
SUBDIR += bblimage
SUBDIR += bft
SUBDIR += bodr
SUBDIR += brian
SUBDIR += buddy
SUBDIR += cdcl
SUBDIR += cdf

26
science/brian/Makefile Normal file
View file

@ -0,0 +1,26 @@
# Ports collection makefile for: brian
# Date created: 27 Feb, 2009
# Whom: wenheping@gmail.com
#
# $FreeBSD$
#
PORTNAME= brian
PORTVERSION= 1.1.2
CATEGORIES= science python
MASTER_SITES= CHEESESHOP \
SF
MAINTAINER= wenheping@gmail.com
COMMENT= A clock-driven simulator for spiking neural networks
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.1.0:${PORTSDIR}/math/py-numpy \
${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \
${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_ZIP= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
.include <bsd.port.mk>

3
science/brian/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (brian-1.1.2.zip) = 97ada49eb33a314581d34be034e563b1
SHA256 (brian-1.1.2.zip) = ca283df1d49cd111650b78a75b7ac14a655e5db8507804e623e4b34a2bef08b7
SIZE (brian-1.1.2.zip) = 308367

12
science/brian/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
Brian is a simulator for spiking neural networks available on almost all
platforms. The motivation for this project is that a simulator should
not only save the time of processors, but also the time of scientists.
Brian is easy to learn and use, highly flexible and easily extensible.
The Brian package itself and simulations using it are all written in
the Python programming language, which is an easy, concise and highly
developed language with many advanced features and development tools,
excellent documentation and a large community of users providing support
and extension packages.
WWW: http://www.briansimulator.org/

221
science/brian/pkg-plist Normal file
View file

@ -0,0 +1,221 @@
%%PYTHON_SITELIBDIR%%/brian/__init__.py
%%PYTHON_SITELIBDIR%%/brian/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/base.py
%%PYTHON_SITELIBDIR%%/brian/base.pyc
%%PYTHON_SITELIBDIR%%/brian/base.pyo
%%PYTHON_SITELIBDIR%%/brian_unit_prefs.py
%%PYTHON_SITELIBDIR%%/brian_no_units.py
%%PYTHON_SITELIBDIR%%/brian_no_units_no_warnings.py
%%PYTHON_SITELIBDIR%%/brian_unit_prefs.pyc
%%PYTHON_SITELIBDIR%%/brian_no_units.pyc
%%PYTHON_SITELIBDIR%%/brian_no_units_no_warnings.pyc
%%PYTHON_SITELIBDIR%%/brian_unit_prefs.pyo
%%PYTHON_SITELIBDIR%%/brian_no_units.pyo
%%PYTHON_SITELIBDIR%%/brian_no_units_no_warnings.pyo
%%PYTHON_SITELIBDIR%%/brian/clock.py
%%PYTHON_SITELIBDIR%%/brian/clock.pyc
%%PYTHON_SITELIBDIR%%/brian/clock.pyo
%%PYTHON_SITELIBDIR%%/brian/compartments.py
%%PYTHON_SITELIBDIR%%/brian/compartments.pyc
%%PYTHON_SITELIBDIR%%/brian/compartments.pyo
%%PYTHON_SITELIBDIR%%/brian/connection.py
%%PYTHON_SITELIBDIR%%/brian/connection.pyc
%%PYTHON_SITELIBDIR%%/brian/connection.pyo
%%PYTHON_SITELIBDIR%%/brian/correlatedspikes.py
%%PYTHON_SITELIBDIR%%/brian/correlatedspikes.pyc
%%PYTHON_SITELIBDIR%%/brian/correlatedspikes.pyo
%%PYTHON_SITELIBDIR%%/brian/credits.py
%%PYTHON_SITELIBDIR%%/brian/credits.pyc
%%PYTHON_SITELIBDIR%%/brian/credits.pyo
%%PYTHON_SITELIBDIR%%/brian/directcontrol.py
%%PYTHON_SITELIBDIR%%/brian/directcontrol.pyc
%%PYTHON_SITELIBDIR%%/brian/directcontrol.pyo
%%PYTHON_SITELIBDIR%%/brian/equations.py
%%PYTHON_SITELIBDIR%%/brian/equations.pyc
%%PYTHON_SITELIBDIR%%/brian/equations.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/__init__.py
%%PYTHON_SITELIBDIR%%/brian/experimental/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/ccodegen.py
%%PYTHON_SITELIBDIR%%/brian/experimental/ccodegen.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/ccodegen.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster.py
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster_client.py
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster_client.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/cluster_client.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/coincidence_detection.py
%%PYTHON_SITELIBDIR%%/brian/experimental/coincidence_detection.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/coincidence_detection.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/__init__.py
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/buffering.py
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/buffering.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/buffering.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/gpucodegen.py
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/gpucodegen.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/cuda/gpucodegen.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/integrodiff.py
%%PYTHON_SITELIBDIR%%/brian/experimental/integrodiff.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/integrodiff.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/morphology.py
%%PYTHON_SITELIBDIR%%/brian/experimental/morphology.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/morphology.pyo
%%PYTHON_SITELIBDIR%%/brian/experimental/multilinearstateupdater.py
%%PYTHON_SITELIBDIR%%/brian/experimental/multilinearstateupdater.pyc
%%PYTHON_SITELIBDIR%%/brian/experimental/multilinearstateupdater.pyo
%%PYTHON_SITELIBDIR%%/brian/globalprefs.py
%%PYTHON_SITELIBDIR%%/brian/globalprefs.pyc
%%PYTHON_SITELIBDIR%%/brian/globalprefs.pyo
%%PYTHON_SITELIBDIR%%/brian/group.py
%%PYTHON_SITELIBDIR%%/brian/group.pyc
%%PYTHON_SITELIBDIR%%/brian/group.pyo
%%PYTHON_SITELIBDIR%%/brian/inspection.py
%%PYTHON_SITELIBDIR%%/brian/inspection.pyc
%%PYTHON_SITELIBDIR%%/brian/inspection.pyo
%%PYTHON_SITELIBDIR%%/brian/library/IF.py
%%PYTHON_SITELIBDIR%%/brian/library/IF.pyc
%%PYTHON_SITELIBDIR%%/brian/library/IF.pyo
%%PYTHON_SITELIBDIR%%/brian/library/__init__.py
%%PYTHON_SITELIBDIR%%/brian/library/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/library/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/library/electrophysiology.py
%%PYTHON_SITELIBDIR%%/brian/library/electrophysiology.pyc
%%PYTHON_SITELIBDIR%%/brian/library/electrophysiology.pyo
%%PYTHON_SITELIBDIR%%/brian/library/ionic_currents.py
%%PYTHON_SITELIBDIR%%/brian/library/ionic_currents.pyc
%%PYTHON_SITELIBDIR%%/brian/library/ionic_currents.pyo
%%PYTHON_SITELIBDIR%%/brian/library/random_processes.py
%%PYTHON_SITELIBDIR%%/brian/library/random_processes.pyc
%%PYTHON_SITELIBDIR%%/brian/library/random_processes.pyo
%%PYTHON_SITELIBDIR%%/brian/library/synapses.py
%%PYTHON_SITELIBDIR%%/brian/library/synapses.pyc
%%PYTHON_SITELIBDIR%%/brian/library/synapses.pyo
%%PYTHON_SITELIBDIR%%/brian/log.py
%%PYTHON_SITELIBDIR%%/brian/log.pyc
%%PYTHON_SITELIBDIR%%/brian/log.pyo
%%PYTHON_SITELIBDIR%%/brian/magic.py
%%PYTHON_SITELIBDIR%%/brian/magic.pyc
%%PYTHON_SITELIBDIR%%/brian/magic.pyo
%%PYTHON_SITELIBDIR%%/brian/membrane_equations.py
%%PYTHON_SITELIBDIR%%/brian/membrane_equations.pyc
%%PYTHON_SITELIBDIR%%/brian/membrane_equations.pyo
%%PYTHON_SITELIBDIR%%/brian/monitor.py
%%PYTHON_SITELIBDIR%%/brian/monitor.pyc
%%PYTHON_SITELIBDIR%%/brian/monitor.pyo
%%PYTHON_SITELIBDIR%%/brian/network.py
%%PYTHON_SITELIBDIR%%/brian/network.pyc
%%PYTHON_SITELIBDIR%%/brian/network.pyo
%%PYTHON_SITELIBDIR%%/brian/neurongroup.py
%%PYTHON_SITELIBDIR%%/brian/neurongroup.pyc
%%PYTHON_SITELIBDIR%%/brian/neurongroup.pyo
%%PYTHON_SITELIBDIR%%/brian/neuronmodel.py
%%PYTHON_SITELIBDIR%%/brian/neuronmodel.pyc
%%PYTHON_SITELIBDIR%%/brian/neuronmodel.pyo
%%PYTHON_SITELIBDIR%%/brian/optimiser.py
%%PYTHON_SITELIBDIR%%/brian/optimiser.pyc
%%PYTHON_SITELIBDIR%%/brian/optimiser.pyo
%%PYTHON_SITELIBDIR%%/brian/plotting.py
%%PYTHON_SITELIBDIR%%/brian/plotting.pyc
%%PYTHON_SITELIBDIR%%/brian/plotting.pyo
%%PYTHON_SITELIBDIR%%/brian/quantityarray.py
%%PYTHON_SITELIBDIR%%/brian/quantityarray.pyc
%%PYTHON_SITELIBDIR%%/brian/quantityarray.pyo
%%PYTHON_SITELIBDIR%%/brian/reset.py
%%PYTHON_SITELIBDIR%%/brian/reset.pyc
%%PYTHON_SITELIBDIR%%/brian/reset.pyo
%%PYTHON_SITELIBDIR%%/brian/stateupdater.py
%%PYTHON_SITELIBDIR%%/brian/stateupdater.pyc
%%PYTHON_SITELIBDIR%%/brian/stateupdater.pyo
%%PYTHON_SITELIBDIR%%/brian/stdp.py
%%PYTHON_SITELIBDIR%%/brian/stdp.pyc
%%PYTHON_SITELIBDIR%%/brian/stdp.pyo
%%PYTHON_SITELIBDIR%%/brian/stdunits.py
%%PYTHON_SITELIBDIR%%/brian/stdunits.pyc
%%PYTHON_SITELIBDIR%%/brian/stdunits.pyo
%%PYTHON_SITELIBDIR%%/brian/stp.py
%%PYTHON_SITELIBDIR%%/brian/stp.pyc
%%PYTHON_SITELIBDIR%%/brian/stp.pyo
%%PYTHON_SITELIBDIR%%/brian/tests/__init__.py
%%PYTHON_SITELIBDIR%%/brian/tests/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/tests/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/tests/testinterface.py
%%PYTHON_SITELIBDIR%%/brian/tests/testinterface.pyc
%%PYTHON_SITELIBDIR%%/brian/tests/testinterface.pyo
%%PYTHON_SITELIBDIR%%/brian/tests/testverification.py
%%PYTHON_SITELIBDIR%%/brian/tests/testverification.pyc
%%PYTHON_SITELIBDIR%%/brian/tests/testverification.pyo
%%PYTHON_SITELIBDIR%%/brian/threshold.py
%%PYTHON_SITELIBDIR%%/brian/threshold.pyc
%%PYTHON_SITELIBDIR%%/brian/threshold.pyo
%%PYTHON_SITELIBDIR%%/brian/units.py
%%PYTHON_SITELIBDIR%%/brian/units.pyc
%%PYTHON_SITELIBDIR%%/brian/units.pyo
%%PYTHON_SITELIBDIR%%/brian/unitsafefunctions.py
%%PYTHON_SITELIBDIR%%/brian/unitsafefunctions.pyc
%%PYTHON_SITELIBDIR%%/brian/unitsafefunctions.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/__init__.py
%%PYTHON_SITELIBDIR%%/brian/utils/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/approximatecomparisons.py
%%PYTHON_SITELIBDIR%%/brian/utils/approximatecomparisons.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/approximatecomparisons.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/autodiff.py
%%PYTHON_SITELIBDIR%%/brian/utils/autodiff.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/autodiff.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/__init__.py
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/ccircular.py
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/ccircular.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/ccircular.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/setup.py
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/setup.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/ccircular/setup.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/circular.py
%%PYTHON_SITELIBDIR%%/brian/utils/circular.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/circular.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/documentation.py
%%PYTHON_SITELIBDIR%%/brian/utils/documentation.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/documentation.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/__init__.py
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/__init__.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/__init__.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/fastexp.py
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/fastexp.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/fastexp.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/setup.py
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/setup.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/setup.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp.py
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp2.py
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp2.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/fastexp/testfastexp2.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/information_theory.py
%%PYTHON_SITELIBDIR%%/brian/utils/information_theory.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/information_theory.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/parallelpython.py
%%PYTHON_SITELIBDIR%%/brian/utils/parallelpython.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/parallelpython.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/parameters.py
%%PYTHON_SITELIBDIR%%/brian/utils/parameters.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/parameters.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/statistics.py
%%PYTHON_SITELIBDIR%%/brian/utils/statistics.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/statistics.pyo
%%PYTHON_SITELIBDIR%%/brian/utils/tabulate.py
%%PYTHON_SITELIBDIR%%/brian/utils/tabulate.pyc
%%PYTHON_SITELIBDIR%%/brian/utils/tabulate.pyo
@dirrm %%PYTHON_SITELIBDIR%%/brian/experimental/cuda
@dirrm %%PYTHON_SITELIBDIR%%/brian/experimental
@dirrm %%PYTHON_SITELIBDIR%%/brian/library
@dirrm %%PYTHON_SITELIBDIR%%/brian/tests
@dirrm %%PYTHON_SITELIBDIR%%/brian/utils/ccircular
@dirrm %%PYTHON_SITELIBDIR%%/brian/utils/fastexp
@dirrm %%PYTHON_SITELIBDIR%%/brian/utils
@dirrm %%PYTHON_SITELIBDIR%%/brian/