ability to query cable_cell for cable segments that define a region (#961)
Add `cable_cell::concrete_region(region)` method that returns a the cable segments in a region. This is required by the Arbor GUI #953 so that it can illustrate regions (and locsets) defined by users on a concrete cell morphology. Note that the `concrete_region` and `concrete_locset` interfaces will need to be extended with random number seed information when we add full support for that, but shouldn't need to be replaced or changed otherwise. Fixes #960.
Showing
- arbor/cable_cell.cpp 11 additions, 3 deletionsarbor/cable_cell.cpp
- arbor/include/arbor/cable_cell.hpp 4 additions, 1 deletionarbor/include/arbor/cable_cell.hpp
- python/cells.cpp 4 additions, 1 deletionpython/cells.cpp
- python/example/single_cell_swc.py 2 additions, 2 deletionspython/example/single_cell_swc.py
- python/single_cell_model.cpp 1 addition, 1 deletionpython/single_cell_model.cpp
Please register or sign in to comment