Changeset 710 for branches/0.6/src/common.py
- Timestamp:
- 02/12/10 16:31:52 (2 years ago)
- Files:
-
- 1 modified
-
branches/0.6/src/common.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.6/src/common.py
r702 r710 1224 1224 raise TypeError("Can't inject current into a spike source.") 1225 1225 current_source.inject_into(self) 1226 1227 def getSubPopulation(self, cells): 1228 """ 1229 Returns a sub population from a population object. The shape of cells will 1230 determine the dimensions of the sub population. cells should contains cells 1231 member of the parent population. 1232 Ex z = pop.getSubPopulation([pop[1],pop[3],pop[5]]) 1233 """ 1234 raise NotImplementedError() 1226 1235 1227 1236 1228 # ==============================================================================
