Changeset 713 for trunk/src/brian/__init__.py
- Timestamp:
- 02/17/10 22:45:18 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/brian/__init__.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/brian/__init__.py
r712 r713 9 9 #import brian_no_units_no_warnings 10 10 from pyNN.brian import simulator 11 from pyNN import common, recording, space, __doc__11 from pyNN import common, recording, space, standardmodels, __doc__ 12 12 common.simulator = simulator 13 13 recording.simulator = simulator … … 23 23 def list_standard_models(): 24 24 """Return a list of all the StandardCellType classes available for this simulator.""" 25 standard_cell_types = [obj for obj in globals().values() if isinstance(obj, type) and issubclass(obj, common.StandardCellType)]25 standard_cell_types = [obj for obj in globals().values() if isinstance(obj, type) and issubclass(obj, standardmodels.StandardCellType)] 26 26 for cell_class in standard_cell_types: 27 27 try: … … 102 102 e.g., (10,10) will create a two-dimensional population of size 10x10. 103 103 cellclass should either be a standardized cell class (a class inheriting 104 from common.StandardCellType) or a string giving the name of the104 from standardmodels.StandardCellType) or a string giving the name of the 105 105 simulator-specific model that makes up the population. 106 106 cellparams should be a dict which is passed to the neuron model
