Location: BG_to_channel @ c4efcd3ba9fd / Clancy_matlab_parameter_fitting / p2tau.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.physiomeproject.org/workspace/82e/rawfile/c4efcd3ba9fd349cf0ebf5cbf24abf3ec1f4e557/Clancy_matlab_parameter_fitting/p2tau.m

function tau = p2tau(params,V)
[alpha,beta] = calc_gate_transitions(params,V/1000);
tau = calc_tau(alpha,beta);
end