Ticket #26 (assigned enhancement)

Opened 2 years ago

Last modified 10 months ago

Add `Population` method for easily specifying neuron location in space

Reported by: apdavison Assigned to: apdavison (accepted)
Priority: major Milestone: 0.5.0
Component: common Version:
Keywords: Cc:

Description

Currently, the positions of neurons in space can only be specified by iterating over the whole population in Python, and using the setPosition() method of the ID class.

We should add a new method or methods to the Population class that allows the positions to be specified from a numpy array or using some algorithm, e.g., 'random positioning within a cylindrical volume', 'hexagonal close packed with separation x', etc.

Might be worth looking at neuroConstruct to see how Padraig Gleeson does it.

Change History

06/07/07 17:28:48 changed by apdavison

  • status changed from new to assigned.

Part of this is now done (specifying positions from a numpy array), see changeset:100.

Also note that the ID class no longer has a setPosition() method. It has a position property instead.

02/02/08 17:48:20 changed by apdavison

Found some open-source tools (C++ with Python interface) that might be useful in generating close-packing:

02/02/08 17:49:29 changed by apdavison

  • milestone changed from Release 0.4.0 to Release 0.5.0.

Specifying positions using an array is sufficient for release 0.4. Specification using an algorithm is deferred to a future release.