I want to instantiate the izhekevic neuron Izhi2003a.hoc attached, but I get the error: "Izhi2003a is not a template"
I did some basic troubleshooting and I added "load_file("import3d.hoc") and load_file("nrngui.hoc")" at the beginning of the file but the issue persists.
I would very much appreciate any guidance on this.
Code: Select all
loading membrane mechanisms from C:\Users\Alexandra\Desktop\nrnmech.dll
Additional mechanisms from files
izhi2019.mod
1
1
1
1
1
nrniv: Izhi2003a is not a template
in izhi2004a-1.hoc near line 16
izh=new Izhi2003a() // 2003 and 2004 papers shared same parameterizations
^
oc>quit()
Code: Select all
load_file("stdgui.hoc")
load_file("import3d.hoc")
load_file("nrngui.hoc") // always a good idea
load_file("subiter.hoc")
nrnmainmenu()
objref g[10]
tstop=500
//* setup the cell
create acell
access acell
objref izh,stim,nc,fih[2]
cvode_local(1)
acell izh=new Izhi2003a() // 2003 and 2004 papers shared same parameterizations
//* parameters for different cell types
objref avec,bvec,cvec,dvec,vviv,tstv,butnl,bub
avec=new Vector()
{bvec=avec.c cvec=avec.c dvec=avec.c vviv=avec.c tstv=avec.c}
// parameters a,b,c,d for different models
avec.append(0.02,0.02,0.02,0.02,0.02,0.01,0.02,0.2,0.02,0.05,0.1,0.02,0.03,0.03,0.03,0.1,1,0.02,-0.02,-0.026)
bvec.append(0.2,0.25,0.2,0.25,0.2,0.2,-0.1,0.26,0.2,0.26,0.26,-0.1,0.25,0.25,0.25,0.26,0.2,1,-1,-1)
cvec.append(-65,-65,-50,-55,-55,-65,-55,-65,-65,-60,-60,-55,-60,-52,-60,-60,-60,-55,-60,-45)
dvec.append(6,6,2,0.05,4,8,6,0,6,0,-1,6,4,0,4,0,-21,4,8,-2)
objref playvec,playtvec
{playvec=new Vector() playtvec=new Vector()}