% # iCOM_PYso_PYdr_JB12:
%
% Simple ohmic axial current for connecting FROM PY cell dendrite compartments
% TO PY cell axo-somatic compartments PYso<-PYdr used in the DynaSim
% implementation of (Benita et al., 2012).
%
% - References:
%     - Benita, J. M., Guillamon, A., Deco, G., & Sanchez-Vives, M. V. (2012).
%     Synaptic depression and slow oscillatory activity in a biophysical
%     network model of the cerebral cortex. Frontiers in Computational
%     Neuroscience, 6. https://doi.org/10.3389/fncom.2012.00064
%
% - Tags: current, pyramidal, dendrite, soma
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
% For the compartmental conductance going to the dendrites, need to divide the
% the total current, 1.75 +- 0.1 uS, by 'A_s', the area of the soma, in
% order to get a per-area conductance, which is what DynaSim prefers.
%
% 1.75 uS / 0.015 mm^2 * ...
% 1 mS / 1000 uS * ...
% 100 mm^2 / 1 cm^2 = ...
% 11.667 mS/cm^2
%
gCOM=11.667

% Functions
ICOM_PYso_PYdr_JB12(IN,OUT) = -gCOM.*(OUT-IN)

% Linkers
@current += ICOM_PYso_PYdr_JB12(IN,OUT)