% # iKLeak_TRN_AS17:
%
% Potassium Leak current for generic thalamic reticular cells used in (Soplata
% et al., 2017).
%
% - References:
%     - Soplata AE, McCarthy MM, Sherfey J, Lee S, Purdon PL, Brown EN, et al.
%     Thalamocortical control of propofol phase-amplitude coupling. PLoS Comput
%     Biol. 2017;13: e1005879. doi:10.1371/journal.pcbi.1005879
%
% - Tags: leak, current, intrinsic, thalamus, potassium, reticular
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
gKLeak = 0.0  % mS/cm^2
EKLeak = -95    % mV

% Functions
iKLeak_TRN_AS17(X) = -gKLeak.*(X-EKLeak)

monitor iKLeak_TRN_AS17

% Linker
@current += iKLeak_TRN_AS17(X)