The Python frontend for Arbor is an interface that the vast majority of users will use to interact with Arbor. This section covers how to use the frontend with examples and detailed descriptions of features.
If you haven’t set up Arbor yet, see the Python installation guide.
The workflow for defining and running a model defined in Simulations can be performed in Python as follows:
Describe the neuron model by defining an
Describe the computational resources to use for simulation using
Partition the model over the hardware resources using
Run the model by initiating then running the
These details are described and examples are given in the next sections Cells, Recipes, Domain decomposition, Simulations, and Profiler.
Detailed information on Arbor’s Python features can also be obtained with Python’s
help function, e.g.
>>> help(arbor.proc_allocation) Help on class proc_allocation in module arbor: class proc_allocation(pybind11_builtins.pybind11_object) | Enumerates the computational resources on a node to be used for simulation. |...
- Hardware context
- Domain decomposition
- Meter manager
- Cable cells
- LIF cells
- Spike source cells
- Benchmark cells
- Single cell model