You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: this model is built-in to neuron with suffix syn_g_NMDA COMMENTsynaptic current with exponential rise and decay conductance defined by i = g * (v - e) i(nanoamps), g(micromhos); where g = 0 for t < onset and g=amp*((1-exp(-(t-onset)/tau0))-(1-exp(-(t-onset)/tau1))) for t > onsetENDCOMMENT INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}NEURON { POINT_PROCESS syn_g_NMDA RANGE onset, tau0, tau1, gmax, e, i NONSPECIFIC_CURRENT i}UNITS { (nA) = (nanoamp) (mV) = (millivolt) (umho) = (micromho)}PARAMETER { onset=0 (ms) tau0=0.3 (ms) tau1=3.0 (ms) gmax=0.0043 (umho) : microS, x100 Spruston 1995 (43pS) e=0 (mV) v (mV)}ASSIGNED { i (nA) g (umho)}LOCAL a[2]LOCAL tpeakLOCAL adjustLOCAL ampBREAKPOINT { g = cond(t) i = g*(v - e) *mgblock(v)}FUNCTION cond(x) { tpeak=tau0*tau1*log(tau0/tau1)/(tau0-tau1) adjust=1/((1-exp(-tpeak/tau0))-(1-exp(-tpeak/tau1))) amp=adjust*gmax if (x < onset) { cond = 0 }else{ a[0]=1-exp(-(x-onset)/tau0) a[1]=1-exp(-(x-onset)/tau1) cond = amp*(a[0]-a[1]) }}FUNCTION mgblock(v) { : from Jahr & Stevens mgblock = 1 / (1 + exp(0.062 * -v) * (2 / 3.57))}