sb = h.SectionBrowser()
sb = h.SectionBrowser(SectionList)
Example:
from neuron import h, gui soma = h.Section(name='soma') sl = h.SectionList() sl.append() sb = h.SectionBrowser(sl)
See also
Example:
from neuron import h, gui soma = h.Section(name='soma') axon = h.Section(name='axon') sb = h.SectionBrowser() sb.select()
Example:
from neuron import h, gui soma = h.Section(name='soma') axon = h.Section(name='axon') def select(sec): print 'select:', sec, type(sec) def accept(sec): print 'accept:', sec sb = h.SectionBrowser() sb.select_action(select) sb.accept_action(select)
Note
Python support for select_action() was added in NEURON 7.5.
Example:
from neuron import h, gui soma = h.Section(name='soma') axon = h.Section(name='axon') def select(sec): print 'select:', sec, type(sec) def accept(sec): print 'accept:', sec sb = h.SectionBrowser() sb.select_action(select) sb.accept_action(accept)
Note
Python support for accept_action() was added in NEURON 7.5.