-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi Boris,
I saw your note about imposing limits when integrating HH equations with gating variables between 0 and 1.
One useful way round this is a change of variables so that instead of
0 < m < 1, the state variable is x where -inf < x < inf and m = exp(x)/(1+ exp(x)).
Then instead of dm/dt = rf * (1 - m) - rr * m
you have:
dx/dt = (1 + exp(x))^2 / exp(x) * (rf * (1 - m) - rr * m)
This behaves much better with simple integration schemes.
Metadata
Metadata
Assignees
Labels
No labels