SK.mod 923 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. : SK-type calcium-activated potassium current
  2. : Reference : Kohler et al. 1996
  3. NEURON {
  4. SUFFIX SK
  5. USEION k READ ek WRITE ik
  6. USEION ca READ cai
  7. RANGE gbar, g, ik
  8. }
  9. UNITS {
  10. (mV) = (millivolt)
  11. (mA) = (milliamp)
  12. (mM) = (milli/liter)
  13. }
  14. PARAMETER {
  15. v (mV)
  16. gbar = .000001 (mho/cm2)
  17. zTau = 1 (ms)
  18. ek (mV)
  19. cai (mM)
  20. }
  21. ASSIGNED {
  22. zInf
  23. ik (mA/cm2)
  24. g (S/cm2)
  25. }
  26. STATE {
  27. z FROM 0 TO 1
  28. }
  29. BREAKPOINT {
  30. SOLVE states METHOD cnexp
  31. g = gbar * z
  32. ik = g * (v - ek)
  33. }
  34. DERIVATIVE states {
  35. rates(cai)
  36. z' = (zInf - z) / zTau
  37. }
  38. PROCEDURE rates(ca(mM)) {
  39. if(ca < 1e-4){
  40. zInf = 0
  41. } else {
  42. zInf = 1/(1 + (0.00043 / ca)^4.8)
  43. }
  44. }
  45. INITIAL {
  46. rates(cai)
  47. z = zInf
  48. }