Debian Codegraph @

docs/environments/bionet/hoc_templates/Biophys1.hoc

raw
1 begintemplate Biophys1
2
3 public init
4 public soma, dend, apic, axon
5 public all, somatic, basal, apical, axonal
6
7 objref all, somatic, basal, apical, axonal
8 objref this
9
10 create soma[1]
11 create dend[1]
12 create apic[1]
13 create axon[1]
14
15
16 proc init() {localobj nl, import
17 all = new SectionList()
18 somatic = new SectionList()
19 basal = new SectionList()
20 apical = new SectionList()
21 axonal = new SectionList()
22 forall delete_section()
23
24 // nl = new Import3d_Neurolucida3()
25 nl = new Import3d_SWC_read()
26 nl.quiet = 1
27 nl.input($s1)
28 import = new Import3d_GUI(nl, 0)
29 // import.quite = 1
30 import.instantiate(this)
31
32 }
33
34 endtemplate Biophys1