Changeset 713 for trunk/src/nest/__init__.py
- Timestamp:
- 02/17/10 22:45:18 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/nest/__init__.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nest/__init__.py
r712 r713 7 7 import nest 8 8 from pyNN.nest import simulator 9 from pyNN import common, recording, errors, space, __doc__9 from pyNN import common, recording, errors, space, standardmodels, __doc__ 10 10 common.simulator = simulator 11 11 recording.simulator = simulator … … 39 39 def list_standard_models(): 40 40 """Return a list of all the StandardCellType classes available for this simulator.""" 41 standard_cell_types = [obj for obj in globals().values() if isinstance(obj, type) and issubclass(obj, common.StandardCellType)]41 standard_cell_types = [obj for obj in globals().values() if isinstance(obj, type) and issubclass(obj, standardmodels.StandardCellType)] 42 42 for cell_class in standard_cell_types: 43 43 try: … … 182 182 e.g., (10,10) will create a two-dimensional population of size 10x10. 183 183 cellclass should either be a standardized cell class (a class inheriting 184 from common.StandardCellType) or a string giving the name of the184 from standardmodels.StandardCellType) or a string giving the name of the 185 185 simulator-specific model that makes up the population. 186 186 cellparams should be a dict which is passed to the neuron model
