NMDA.mod 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. TITLE AMPA and NMDA receptor with presynaptic short-term plasticity
  2. COMMENT
  3. AMPA and NMDA receptor conductance using a dual-exponential profile
  4. presynaptic short-term plasticity based on Fuhrmann et al. 2002
  5. Implemented by Srikanth Ramaswamy, Blue Brain Project, July 2009
  6. GUY: Removed plasticity and depression
  7. ENDCOMMENT
  8. NEURON {
  9. POINT_PROCESS NMDA
  10. RANGE tau_r_NMDA, tau_d_NMDA,n_NMDA,gama_NMDA
  11. RANGE Use
  12. RANGE i, i_NMDA, g_NMDA, e, gmax
  13. NONSPECIFIC_CURRENT i
  14. }
  15. PARAMETER {
  16. n_NMDA = 0.28011 (/mM)
  17. gama_NMDA = 0.062 (/mV)
  18. tau_r_NMDA = 0.3 (ms) : dual-exponential conductance profile
  19. tau_d_NMDA = 43 (ms) : IMPORTANT: tau_r < tau_d
  20. Use = 1.0 (1) : Utilization of synaptic efficacy (just initial values! Use, Dep and Fac are overwritten by BlueBuilder assigned values)
  21. e = 0 (mV) : AMPA and NMDA reversal potential
  22. mg = 1 (mM) : initial concentration of mg2+
  23. mggate
  24. :gmax = .001 (uS) :1nS weight conversion factor (from nS to uS)
  25. u0 = 0 :initial value of u, which is the running value of Use
  26. }
  27. COMMENT
  28. The Verbatim block is needed to generate random nos. from a uniform distribution between 0 and 1
  29. for comparison with Pr to decide whether to activate the synapse or not
  30. ENDCOMMENT
  31. ASSIGNED {
  32. v (mV)
  33. i (nA)
  34. i_NMDA (nA)
  35. g_NMDA (uS)
  36. factor_NMDA
  37. }
  38. STATE {
  39. A_NMDA : NMDA state variable to construct the dual-exponential profile - decays with conductance tau_r_NMDA
  40. B_NMDA : NMDA state variable to construct the dual-exponential profile - decays with conductance tau_d_NMDA
  41. }
  42. INITIAL{
  43. LOCAL tp_NMDA
  44. A_NMDA = 0
  45. B_NMDA = 0
  46. tp_NMDA = (tau_r_NMDA*tau_d_NMDA)/(tau_d_NMDA-tau_r_NMDA)*log(tau_d_NMDA/tau_r_NMDA) :time to peak of the conductance
  47. factor_NMDA = -exp(-tp_NMDA/tau_r_NMDA)+exp(-tp_NMDA/tau_d_NMDA) :NMDA Normalization factor - so that when t = tp_NMDA, gsyn = gpeak
  48. factor_NMDA = 1/factor_NMDA
  49. }
  50. BREAKPOINT {
  51. SOLVE state METHOD cnexp
  52. mggate = 1 / (1 + exp(gama_NMDA * -(v)) * (n_NMDA)) :mggate kinetics - Jahr & Stevens 1990
  53. g_NMDA = (B_NMDA-A_NMDA) * mggate :compute time varying conductance as the difference of state variables B_NMDA and A_NMDA and mggate kinetics
  54. i_NMDA = g_NMDA*(v-e) :compute the NMDA driving force based on the time varying conductance, membrane potential, and NMDA reversal
  55. i = i_NMDA
  56. }
  57. DERIVATIVE state{
  58. A_NMDA' = -A_NMDA/tau_r_NMDA
  59. B_NMDA' = -B_NMDA/tau_d_NMDA
  60. }
  61. NET_RECEIVE (weight, weight_NMDA){
  62. weight_NMDA = weight
  63. A_NMDA = A_NMDA + weight_NMDA*factor_NMDA
  64. B_NMDA = B_NMDA + weight_NMDA*factor_NMDA
  65. }