Saves a complete tree intree into the file called name in the section based NEURON (http://www.neuron.yale.edu/neuron/) .hoc format. res determines the resolution at which NEURON samples a segment (nseg). Alternatively, the tree can also be stored as .nrn file in which each segment from the tree graph becomes an independent section in NEURON. Option ‘-e’ incorporates electrotonic properties if existent, ‘->’ starts NEURON immediately if it is installed and the TREES toolbox runs in windows.

Example:
Current injection in section dendrite[5] and spatial potential distribution.

>> neuron_tree (sample2_tree, [], [], '-s -e ->')

TREES

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License