/* Desens.hoc This file is used to demonstrate activation and desensitization of the dAMPA receptor as well as recovery from desensitization. Activation and desensitization are demonstrated with a single pulse of glutamate ranging from 0.25 to 10ms in duration. Recovery from desensitization is demonstrated with two 1 ms. pulses of glutamate with an isi ranging from 25 to 400 ms. */ create soma soma { nseg = 1 L = 25 diam = 25 } load_proc ("nrnmainmenu") forall insert pas forall g_pas=1/70000 forall Ra=110 global_ra=110 forall e_pas=-65 access soma objectvar stim1 stim1 = new glutamate(.50) stim1.DC_Level = 1 stim1.DC_Delay = 10 stim1.DC_Off = 500 objectvar chanN1 soma chanN1 = new dAMPA_R(.50) // Manni's kinetics chanN1.gmax = 0.0013 chanN1.RBd = 0.4 chanN1.RBDr = 0.03 chanN1.RBb = 0.004 chanN1.RB2d = 5e-05 chanN1.RB2Dr = 0.0002 objectvar clamp soma clamp = new VClamp(0.5) clamp.dur[0] = 1200 clamp.amp[0] = -65 tstop = 1200 dt = .025 steps_per_ms = 5 v_init = 65 xopen("AMPA_DESENS_NEW.ses")