Show
Ignore:
Timestamp:
02/19/10 16:58:37 (2 years ago)
Author:
apdavison
Message:

Using distance-dependent expressions for weights or delays in Connectors was broken. This needs to be back-ported to 0.6.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/highlevelapi.txt

    r708 r716  
    405405In more abstract models, it is often useful to be able to avoid edge effects by specifying periodic boundary conditions, e.g.:: 
    406406 
    407     >>> connector = DistanceDependentProbabilityConnector("exp(-abs(d))", space=Space(periodic_boundaries=(500, 500, 0))) 
     407    >>> connector = DistanceDependentProbabilityConnector("exp(-abs(d))", space=Space(periodic_boundaries=((0,500), (0,500), None))) 
    408408     
    409409calculates distance on the surface of a torus of circumference 500 µm (wrap-around in the x- and y-dimensions but not z).