% # iLeak_TRN_AS17:
%
% 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, reticular
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
gLeak = 0.05; % mS/cm^2
ELeak = -90;  % mV

% Functions
iLeak_TRN_AS17(X) = -gLeak.*(X-ELeak)

monitor iLeak_TRN_AS17

% Linker
@current += iLeak_TRN_AS17(X)