PLoS supp. material by Hermann Cuntz
This is a NEURON .hoc file which exports a tree into a .neu
format which the TREES toolbox can read using
Works only for basic trees and sometimes scrambles the graph
(use “cgui_tree” for editing).
Make sure to realize that most imported trees are originally
encoded as connected frusta instead of cylinders whereas
the TREES toolbox assumes that they are cylinders.
This can be changed by adding the field “frustum=1” to the tree structure.
code in NEURON hoc
After having loaded one single cell in the NEURON environment (make sure that the file neu_tree.hoc is in the current directory).
“load_tree” in the Matlab environment is then able to load the .neu file.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License