Location: BG_to_channel @ ad3c483cfbea / matlab_parameter_fitting / calc_gate_transitions.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-07 16:27:20+13:00
Desc:
fix I_mem
Permanent Source URI:
https://models.fieldml.org/workspace/82e/rawfile/ad3c483cfbea78e59c7f0bd9315c92005f5faa42/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