Changeset 989
- Timestamp:
- 09/15/11 13:46:33 (8 months ago)
- Location:
- trunk/doc
- Files:
-
- 2 added
- 2 modified
-
api_reference.txt (added)
-
highlevelapi.txt (modified) (1 diff)
-
index.txt (modified) (1 diff)
-
roadmap.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/highlevelapi.txt
r927 r989 21 21 ========================== 22 22 23 Before using any other functions or classes from PyNN, the user must call the ``setup()`` function::23 Before using any other functions or classes from PyNN, the user must call the :func:`setup()` function:: 24 24 25 25 >>> setup() 26 26 27 ``setup()`` takes various optional arguments: setting the simulation timestep (there is currently no support in the API for variable timestep methods although native simulator code can be used to select this option where the simulator supports it) and setting the minimum and maximum synaptic delays, e.g.::27 :func:`setup()` takes various optional arguments: setting the simulation timestep (there is currently no support in the API for variable timestep methods although native simulator code can be used to select this option where the simulator supports it) and setting the minimum and maximum synaptic delays, e.g.:: 28 28 29 29 >>> setup(timestep=0.1, min_delay=0.1, max_delay=10.0) 30 30 31 In previous versions, ``setup()`` took a ``debug`` argument for configuring logging. To allow more flexibility, configuration of logging must now be done separately. There is a convenience function in the ``pyNN.utility`` module to simplify this::31 In previous versions, :func:`setup()` took a :attr:`debug` argument for configuring logging. To allow more flexibility, configuration of logging must now be done separately. There is a convenience function in the :mod:`pyNN.utility` module to simplify this:: 32 32 33 33 >>> from pyNN.utility import init_logging 34 34 >>> init_logging("logfile", debug=True) 35 35 36 or you can configure the Python ``logging`` module directly.36 or you can configure the Python :mod:`logging` module directly. 37 37 38 38 -
trunk/doc/index.txt
r988 r989 19 19 simulatorspecificoptions 20 20 developers_guide 21 roadmap 22 api_reference 21 23 22 24 Indices and tables
