Page 1 of 1

trap0

Posted: Thu Dec 17, 2009 8:08 am
by ulrikhp
I'm looking at mod-files that describe HH-style kinetics of different currents. Can someone tell me what the 'trap0' function exactly does?

Best regards,
Ulrik

Re: trap0

Posted: Thu Dec 17, 2009 5:35 pm
by ted
Many HH-style channel descriptions have one or more gating variables that are governed by algebraic formulas in which the numerator and denominator become 0 at a particular value of membrane potential. "trap" functions use a conditional statement so that when v approaches such a singularity, L'hosptial's rule is used to evaluate the formula.