- Timestamp:
- 01/27/11 11:57:12 (2 years ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
examples/IF_curr_exp2.py (modified) (1 diff)
-
examples/VAbenchmarks.py (modified) (2 diffs)
-
examples/VAbenchmarks2-csa.py (modified) (2 diffs)
-
examples/VAbenchmarks2.py (modified) (2 diffs)
-
examples/VAbenchmarks3.py (modified) (2 diffs)
-
src/nest/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/IF_curr_exp2.py
r756 r915 13 13 14 14 import numpy 15 from pyNN.random import NumpyRNG16 15 from pyNN.utility import get_script_args 17 18 16 simulator_name = get_script_args(1)[0] 19 17 exec("from pyNN.%s import *" % simulator_name) 20 18 from pyNN.random import NumpyRNG 21 19 22 20 setup(timestep=0.01, min_delay=2.0, max_delay=4.0) -
trunk/examples/VAbenchmarks.py
r869 r915 20 20 from math import * 21 21 22 from pyNN.random import NumpyRNG, RandomDistribution23 22 from pyNN.utility import get_script_args, Timer 24 23 usage = """Usage: python VAbenchmarks.py <simulator> <benchmark> … … 27 26 simulator_name, benchmark = get_script_args(2, usage) 28 27 exec("from pyNN.%s import *" % simulator_name) 28 from pyNN.random import NumpyRNG, RandomDistribution 29 29 30 30 timer = Timer() -
trunk/examples/VAbenchmarks2-csa.py
r768 r915 24 24 import csa 25 25 26 from pyNN.random import NumpyRNG, RandomDistribution27 26 from pyNN.utility import get_script_args, Timer 28 27 usage = """Usage: python VAbenchmarks.py <simulator> <benchmark> … … 31 30 simulator_name, benchmark = get_script_args(2, usage) 32 31 exec("from pyNN.%s import *" % simulator_name) 32 from pyNN.random import NumpyRNG, RandomDistribution 33 33 34 34 timer = Timer() -
trunk/examples/VAbenchmarks2.py
r869 r915 23 23 from math import * 24 24 25 from pyNN.random import NumpyRNG, RandomDistribution26 25 from pyNN.utility import get_script_args, Timer 27 26 usage = """Usage: python VAbenchmarks.py <simulator> <benchmark> … … 30 29 simulator_name, benchmark = get_script_args(2, usage) 31 30 exec("from pyNN.%s import *" % simulator_name) 31 from pyNN.random import NumpyRNG, RandomDistribution 32 32 33 33 timer = Timer() -
trunk/examples/VAbenchmarks3.py
r869 r915 23 23 from math import * 24 24 25 from pyNN.random import NumpyRNG, RandomDistribution26 25 from pyNN.utility import get_script_args, Timer 27 26 usage = """Usage: python VAbenchmarks.py <simulator> <benchmark> … … 30 29 simulator_name, benchmark = get_script_args(2, usage) 31 30 exec("from pyNN.%s import *" % simulator_name) 31 from pyNN.random import NumpyRNG, RandomDistribution 32 32 33 33 timer = Timer() -
trunk/src/nest/__init__.py
r913 r915 10 10 common.simulator = simulator 11 11 recording.simulator = simulator 12 13 if nest.Rank() != recording.mpi_comm.rank: 14 raise Exception("MPI not working properly. Please make sure you import pyNN.nest before pyNN.random.") 12 15 13 16 import numpy
