Creates loops in the neuronal conductance matrix of tree intree. Since conventional trees cannot be used (they are not supposed to have loops), a conductance matrix M is calculated directly extending on M from “M_tree”. Set of num nodes inodes1 are connected to the set of num nodes inodes2 with gap junction conductances given by numx1 vector gelsyn.

connect node #1 with node #13

>> M = loop_tree (sample2_tree, 1, 13, [],'-s')


inverse of the loop conductance matrix gives the electrotonic signature (just as “sse_tree”):

>> inv (M)


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