Calculates the steady state potentials matrix syn resulting from a current injection I (see “sse_tree”) and synaptic inputs defined by Nx1 vectors ge and gi, conductance values for each node (or alternatively: node location of unit conductances), and reversal potential values Ee and Ei into tree intree.

Impact of on-path location of inhibition, compare:

>> sse = syn_tree (sample_tree, 100, 95, [], [])
←   inhibition (blue) on the path
between excitation (red) and root


>> sse = syn_tree (sample_tree, 100, 105, [], [])
←   inhibition (blue) just on the wrong side


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