docs/environments/bionet/hoc_templates/BioAllen_old.hoc
raw| 1 | begintemplate BioAllenOld |
| 2 | |
| 3 | public init |
| 4 | public soma, dend, apic, axon |
| 5 | public all, somatic, basal, apical, axonal |
| 6 | objref all, somatic, basal, apical, axonal |
| 7 | |
| 8 | objref this |
| 9 | |
| 10 | proc init() {localobj nl, import |
| 11 | all = new SectionList() |
| 12 | somatic = new SectionList() |
| 13 | basal = new SectionList() |
| 14 | apical = new SectionList() |
| 15 | axonal = new SectionList() |
| 16 | forall delete_section() |
| 17 | } |
| 18 | |
| 19 | create soma[1], dend[1], apic[1], axon[1] |
| 20 | |
| 21 | endtemplate BioAllenOld |