Im.mod 839 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. :Reference : : Adams et al. 1982 - M-currents and other potassium currents in bullfrog sympathetic neurones
  2. :Comment: corrected rates using q10 = 2.3, target temperature 34, orginal 21
  3. NEURON {
  4. SUFFIX Im
  5. USEION k READ ek WRITE ik
  6. RANGE gbar, g, ik
  7. }
  8. UNITS {
  9. (S) = (siemens)
  10. (mV) = (millivolt)
  11. (mA) = (milliamp)
  12. }
  13. PARAMETER {
  14. gbar = 0.00001 (S/cm2)
  15. }
  16. ASSIGNED {
  17. v (mV)
  18. ek (mV)
  19. ik (mA/cm2)
  20. g (S/cm2)
  21. mInf
  22. mTau
  23. mAlpha
  24. mBeta
  25. }
  26. STATE {
  27. m
  28. }
  29. BREAKPOINT {
  30. SOLVE states METHOD cnexp
  31. g = gbar*m
  32. ik = g*(v-ek)
  33. }
  34. DERIVATIVE states {
  35. rates()
  36. m' = (mInf-m)/mTau
  37. }
  38. INITIAL{
  39. rates()
  40. m = mInf
  41. }
  42. PROCEDURE rates(){
  43. LOCAL qt
  44. qt = 2.3^((34-21)/10)
  45. UNITSOFF
  46. mAlpha = 3.3e-3*exp(2.5*0.04*(v - -35))
  47. mBeta = 3.3e-3*exp(-2.5*0.04*(v - -35))
  48. mInf = mAlpha/(mAlpha + mBeta)
  49. mTau = (1/(mAlpha + mBeta))/qt
  50. UNITSON
  51. }