Ticket #21 (new enhancement)

Opened 2 years ago

Last modified 1 year ago

Population.__getitem__ for list/array of coordinates

Reported by: JensKremkow Assigned to: all
Priority: minor Milestone: 0.5.0
Component: common Version:
Keywords: Cc:

Description

Would be cool to have a Population.getitem that takes a list/array of coordinates and returns their addrs. Could be speed up the connect routines, so far, for each synapse the routine has to ask the id of a given coordinate in a loop.

Change History

05/04/07 13:35:21 changed by JensKremkow

  • owner changed from apdavison to JensKremkow.

05/04/07 13:35:31 changed by JensKremkow

  • owner changed from JensKremkow to all.

05/11/07 14:05:51 changed by apdavison

  • milestone set to Release 0.4.0.

10/05/07 16:27:52 changed by apdavison

  • priority changed from major to minor.
  • milestone changed from Release 0.4.0 to Release 0.5.0.

__getitem__() should only return a single item. We could envisage getitems(), or some kind of slicing, like in numpy arrays.