Location: BG_to_channel @ c4efcd3ba9fd / Kernik_matlab_parameter_fitting / calc_gate_transitions.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-22 15:58:29+12:00
Desc:
Changing units to s for alpha and beta gate parameters and fitting with added tau offsets for both gates
Permanent Source URI:
https://models.fieldml.org/workspace/82e/rawfile/c4efcd3ba9fd349cf0ebf5cbf24abf3ec1f4e557/Kernik_matlab_parameter_fitting/calc_gate_transitions.m

function [alpha,beta] = calc_gate_transitions(params,V)
% params: [kf, zf, kr, zr];
R = 8.314;
T = 310;
F = 96485;

alpha = params(1)*exp(params(2)*F*V/R/T);
beta = params(3)*exp(params(4)*F*V/R/T);

end