Show
Ignore:
Timestamp:
02/12/10 16:02:09 (2 years ago)
Author:
apdavison
Message:

Various fixes from running doctests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/dynamicsynapses.txt

    r632 r708  
    7373    >>> prj.getSynapseDynamics('tau_rec')[:5] 
    7474    [50.0, 50.0, 50.0, 50.0, 50.0] 
     75    >>> from pyNN.random import RandomDistribution 
    7576    >>> distr = RandomDistribution('normal', [0.02, 0.05]) 
    7677    >>> prj2.randomizeSynapseDynamics('w_max', distr) 
    7778    >>> prj2.getSynapseDynamics('w_max')[:5] 
    78     aofuha 
     79    [-0.056605932509016577, 0.063197908706714212, 0.034940801886916589, 0.010755581262934901, 0.011700727992415299] 
    7980 
    8081There are a number of examples of networks using synaptic plasticity in the ``examples`` directory of the source distribution.