CaDynamics.mod 705 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. : Dynamics that track inside calcium concentration
  2. : modified from Destexhe et al. 1994
  3. NEURON {
  4. SUFFIX CaDynamics
  5. USEION ca READ ica WRITE cai
  6. RANGE decay, gamma, minCai, depth
  7. }
  8. UNITS {
  9. (mV) = (millivolt)
  10. (mA) = (milliamp)
  11. FARADAY = (faraday) (coulombs)
  12. (molar) = (1/liter)
  13. (mM) = (millimolar)
  14. (um) = (micron)
  15. }
  16. PARAMETER {
  17. gamma = 0.05 : percent of free calcium (not buffered)
  18. decay = 80 (ms) : rate of removal of calcium
  19. depth = 0.1 (um) : depth of shell
  20. minCai = 1e-4 (mM)
  21. }
  22. ASSIGNED {ica (mA/cm2)}
  23. INITIAL {
  24. cai = minCai
  25. }
  26. STATE {
  27. cai (mM)
  28. }
  29. BREAKPOINT { SOLVE states METHOD cnexp }
  30. DERIVATIVE states {
  31. cai' = -(10000)*(ica*gamma/(2*FARADAY*depth)) - (cai - minCai)/decay
  32. }