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.
Even if you don’t wish to run simulations on multiple simulators, you may benefit from writing your simulation code using PyNN’s powerful, high-level interface. In this case, you can use any neuron or synapse model supported by your simulator, and are not restricted to the standard models.
PyNN is a work in progress, but is already being used for several large-scale simulation projects.
Metadata
Release files for PyNN 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyNN-0.7.2.tar.gz | 254.2 kB | Details |
Release files / PyNN-0.7.2.tar.gz
| Download URL | PyNN-0.7.2.tar.gz |
|---|---|
| Size | 254.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1a55b3a7211fd257863c7865b8605c7b8eabd23abc11aceb33debe322ee103d
|
|
BLAKE2b-256 checksum How to use checksums |
c65a1f68b5fb76f56013d522d64f64fbb05a576a4effe862bb588c5cf90ea7a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |