<commit_before>% iKCaT: KCa after Traub & Jefferys 1994.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
gKCa = .007 % .9*.005/.25 % .0125
bKCa = .002
EK = -80
IC_noise = 0
aKCa_factor = .1

% Functions
aKCa(cai) = min(aKCa_factor.*cai,1); % .01); % min((2*10^(-5)).*cai,.01)
infKCa(cai) = aKCa(cai)./(aKCa(cai)+bKCa)
tauKCa(cai) = 1./(aKCa(cai)+bKCa); % 500; % max(min(400, 1./(aKCa(cai)+bKCa)), 600);
IKCa(X,q) = gKCa*q*(X-EK)

% ODEs
q' = (infKCa(cai)-q)./tauKCa(cai)
q(0) = infKCa(0)+IC_noise.*rand(1,Npop)

% Linkers
@current += -IKCa(V,q)<commit_msg>Fixing linkers to cai in iKCaT.txt.<commit_after>% iKCaT: KCa after Traub & Jefferys 1994.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters
gKCa = .007 % .9*.005/.25 % .0125
bKCa = .002
EK = -80
IC_noise = 0
aKCa_factor = .1

% Functions
aKCa(@cai) = min(aKCa_factor.*@cai,1); % .01); % min((2*10^(-5)).*@cai,.01)
infKCa(@cai) = aKCa(@cai)./(aKCa(@cai)+bKCa)
tauKCa(@cai) = 1./(aKCa(@cai)+bKCa); % 500; % max(min(400, 1./(aKCa(@cai)+bKCa)), 600);
IKCa(X,q) = gKCa*q*(X-EK)

% ODEs
q' = (infKCa(@cai)-q)./tauKCa(@cai)
q(0) = infKCa(0)+IC_noise.*rand(1,Npop)

% Linkers
@current += -IKCa(V,q)
{'fraction_non_alphanumeric': 0.3464373464373464, 'fraction_numerical': 0.07698607698607698, 'mean_word_length': 5.11, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4510780', 'n_tokens_mistral': 715, 'n_tokens_neox': 594, 'n_words': 90}