{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[5]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
//Begin ChannelBuild[0] managed KSChan[0]
{
load_file("chanbild.hoc", "ChannelBuild")
}
{ion_register("na", 1)}
{ocbox_ = new ChannelBuild(1)}
{object_push(ocbox_)}
{genprop.set_data("Na", 1, 1, 5, "na")}
{genprop.set_defstr(0, 0)}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(3)}
{tobj.set_state("m", 1, 140, 140)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
1.5
0.2
-45
{tobj.transitions.object(0).set_f(0, 3, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
1.5
-0.2
-17
{tobj.transitions.object(0).set_f(1, 3, tobj1)}
{tobj.end_restore()}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(1)}
{tobj.set_state("h", 1, 140, 110)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.23
-0.05
-67
{tobj.transitions.object(0).set_f(0, 2, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
3.33
-0.1
-14.5
{tobj.transitions.object(0).set_f(1, 4, tobj1)}
{tobj.end_restore()}
end_restore()
{genprop.set_single(0)}
{set_alias(0)}
{usetable(0)}
{object_pop()}
{
ocbox_.map("ChannelBuild[0] managed KSChan[0]", 0, 180, 365.4, 702)
}
objref ocbox_
//End ChannelBuild[0] managed KSChan[0]
//Begin ChannelBuild[1] managed KSChan[1]
{
load_file("chanbild.hoc", "ChannelBuild")
}
{ion_register("k", 1)}
{ocbox_ = new ChannelBuild(1)}
{object_push(ocbox_)}
{genprop.set_data("fKDR", 1, 1, 6, "k")}
{genprop.set_defstr(0, 0)}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(4)}
{tobj.set_state("n", 1, 140, 140)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.42
0.16667
-23
{tobj.transitions.object(0).set_f(0, 3, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.264
-0.025
-48
{tobj.transitions.object(0).set_f(1, 2, tobj1)}
{tobj.end_restore()}
end_restore()
{genprop.set_single(0)}
{set_alias(0)}
{usetable(0)}
{object_pop()}
{
ocbox_.map("ChannelBuild[1] managed KSChan[1]", 300, 180, 365.4, 702)
}
objref ocbox_
//End ChannelBuild[1] managed KSChan[1]
//Begin ChannelBuild[2] managed KSChan[2]
{
load_file("chanbild.hoc", "ChannelBuild")
}
{ion_register("k", 1)}
{ocbox_ = new ChannelBuild(1)}
{object_push(ocbox_)}
{genprop.set_data("sKDR", 1, 1, 6, "k")}
{genprop.set_defstr(0, 0)}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(4)}
{tobj.set_state("n", 1, 140, 140)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.168
0.16667
-35
{tobj.transitions.object(0).set_f(0, 3, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.1056
-0.025
-60
{tobj.transitions.object(0).set_f(1, 2, tobj1)}
{tobj.end_restore()}
end_restore()
{genprop.set_single(0)}
{set_alias(0)}
{usetable(0)}
{object_pop()}
{
ocbox_.map("ChannelBuild[2] managed KSChan[2]", 594, 180, 342.9, 702)
}
objref ocbox_
//End ChannelBuild[2] managed KSChan[2]
//Begin ChannelBuild[3] managed KSChan[3]
{
load_file("chanbild.hoc", "ChannelBuild")
}
{ion_register("k", 1)}
{ocbox_ = new ChannelBuild(1)}
{object_push(ocbox_)}
{genprop.set_data("KA", 1, 1, 6, "k")}
{genprop.set_defstr(0, 0)}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(1)}
{tobj.set_state("k", 1, 70, 140)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.75
0.066667
-25
{tobj.transitions.object(0).set_f(0, 3, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.8
-0.125
-15
{tobj.transitions.object(0).set_f(1, 3, tobj1)}
{tobj.end_restore()}
tobj = new ChannelBuildKSGate(this)
{gatelist.append(tobj)}
{tobj.begin_restore(1)}
{tobj.set_state("l", 1, 90, 140)}
{tobj.set_trans(0, 0, 0)}
{tobj.transitions.object(0).settype(0, "")}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.00015
-0.066667
-13
{tobj.transitions.object(0).set_f(0, 2, tobj1)}
{tobj1 = new Vector(3) for (i=0; i < 3; i += 1) tobj1.x[i] = fscan() }
0.06
-0.083333
-68
{tobj.transitions.object(0).set_f(1, 4, tobj1)}
{tobj.end_restore()}
end_restore()
{genprop.set_single(0)}
{set_alias(0)}
{usetable(0)}
{object_pop()}
{
ocbox_.map("ChannelBuild[3] managed KSChan[3]", 858, 180, 358.2, 702)
}
objref ocbox_
//End ChannelBuild[3] managed KSChan[3]
//Begin CellBuild[0]
{
load_file("celbild.hoc", "CellBuild")
}
{ocbox_ = new CellBuild(1)}
{object_push(ocbox_)}
{
version(5.7)
continuous = 0
}
{object_push(topol)}
{
first = 0
slist.remove_all()
sname = "distal"
objref tobj
}
{
tobj = new CellBuildSection("soma",0, 0, tobj, 0) slist.append(tobj)
tobj.position(0,0,15,0) tobj.lx=7.69231 tobj.ly=18.7314 tobj.i3d=0
tobj = new CellBuildSection("axon",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(0)
tobj.position(15,0,30,0) tobj.lx=18.6235 tobj.ly=-11.6329 tobj.i3d=0
tobj = new CellBuildSection("axon",1, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(1)
tobj.position(30,0,45,0) tobj.lx=41.7004 tobj.ly=-18.9204 tobj.i3d=0
tobj = new CellBuildSection("axon",2, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(2)
tobj.position(45,0,60,0) tobj.lx=59.919 tobj.ly=-29.8516 tobj.i3d=0
tobj = new CellBuildSection("axon",3, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(3)
tobj.position(60,0,120,0) tobj.lx=101.215 tobj.ly=-5.56006 tobj.i3d=0
tobj = new CellBuildSection("GCL",0, 0, tobj, 0) slist.append(tobj)
tobj.parent=slist.object(0)
tobj.position(0,0,-30,30) tobj.lx=-5.66801 tobj.ly=23.5897 tobj.i3d=0
tobj = new CellBuildSection("GCL",1, 0, tobj, 0) slist.append(tobj)
tobj.parent=slist.object(0)
tobj.position(0,0,-30,-30) tobj.lx=-3.23887 tobj.ly=-22.5641 tobj.i3d=0
tobj = new CellBuildSection("prox",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(5)
tobj.position(-30,30,-45,30) tobj.lx=-26.3158 tobj.ly=49.0958 tobj.i3d=0
tobj = new CellBuildSection("prox",1, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(6)
tobj.position(-30,-30,-45,-30) tobj.lx=-11.7409 tobj.ly=-46.8556 tobj.i3d=0
tobj = new CellBuildSection("middle",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(7)
tobj.position(-45,30,-60,30) tobj.lx=-65.1822 tobj.ly=49.0958 tobj.i3d=0
tobj = new CellBuildSection("middle",1, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(8)
tobj.position(-45,-30,-60,-30) tobj.lx=-61.5385 tobj.ly=-46.8556 tobj.i3d=0
tobj = new CellBuildSection("distal",0, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(9)
tobj.position(-60,30,-120,30) tobj.lx=-107.692 tobj.ly=49.0958 tobj.i3d=0
tobj = new CellBuildSection("distal",1, 0, tobj, 1) slist.append(tobj)
tobj.parent=slist.object(10)
tobj.position(-60,-30,-120,-30) tobj.lx=-114.98 tobj.ly=-46.8556 tobj.i3d=0
all_init()
}
for i=0, slist.count-1 {slist.object(i).rdses()}
{object_pop()}
{
}
{object_push(subsets)}
{first = 0}
{ tobj = snlist.object(0)}
{tobj = new SNList("dendrites") snlist.append(tobj)}
for i=0,7 tobj.add(bild.topol.slist.object(fscan()))
5
6
7
8
9
10
11
12
{tobj = new SNList("GCLs") snlist.append(tobj)}
for i=0,1 tobj.add(bild.topol.slist.object(fscan()))
5
6
{tobj = new SNList("proxs") snlist.append(tobj)}
for i=0,1 tobj.add(bild.topol.slist.object(fscan()))
7
8
{tobj = new SNList("middles") snlist.append(tobj)}
for i=0,1 tobj.add(bild.topol.slist.object(fscan()))
9
10
{tobj = new SNList("distals") snlist.append(tobj)}
for i=0,1 tobj.add(bild.topol.slist.object(fscan()))
11
12
{tobj = new SNList("allaxon") snlist.append(tobj)}
for i=0,3 tobj.add(bild.topol.slist.object(fscan()))
1
2
3
4
{consist()}
{object_pop()}
{
}
{object_push(geom)}
{
first = 0
tobj = new GeoSpec(2)
tobj.value = 150
bild.subsets.snlist.object(1).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 3
bild.subsets.snlist.object(1).geo.append(tobj)
tobj = new GeoSpec(6)
tobj.value = 4
bild.subsets.snlist.object(1).geo.append(tobj)
tobj = new GeoSpec(6)
tobj.value = 2
bild.subsets.snlist.object(2).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 50
bild.subsets.snlist.object(2).geo.append(tobj)
tobj = new GeoSpec(1, bild.subsets.snlist.object(6))
for i=0, 3 {tobj.snlist.list.object(i).ldiaminfo.x[1] = fscan()}}
0.9
0.7
0.5
0.4
{
bild.subsets.snlist.object(6).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 50
bild.subsets.snlist.object(6).geo.append(tobj)
tobj = new GeoSpec(6)
tobj.value = 1
bild.subsets.snlist.object(6).geo.append(tobj)
tobj = new GeoSpec(6)
tobj.value = 2
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 16.8
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 16.8
bild.topol.slist.object(0).geo.append(tobj)
tobj = new GeoSpec(2)
tobj.value = 1400
bild.topol.slist.object(4).geo.append(tobj)
tobj = new GeoSpec(6)
tobj.value = 28
bild.topol.slist.object(4).geo.append(tobj)
set_default()
}
{object_pop()}
{
}
{object_push(memb)}
{first=0}
{
tobj = new FakeMechStan(0)
tobj.value = 210
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new FakeMechStan(1)
tobj.value = 1
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("pas")
tobj.set("g_pas", 2.5e-05, 0)
tobj.set("e_pas", -70, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{
tobj = new FakeMechStan(1)
tobj.value = 1.6
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(1).ml.append(tobj)
}
{
tobj = new MechanismStandard("pas")
tobj.set("g_pas", 4e-05, 0)
tobj.set("e_pas", -70, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(1).ml.append(tobj)
}
{
tobj = new FakeMechStan(1)
tobj.value = 1
tobj.set_default()
tobj = new MStanWrap(tobj, 0)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("pas")
tobj.set("g_pas", 2.5e-05, 0)
tobj.set("e_pas", -70, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("Ca")
tobj.set("gtcabar_Ca", 0.0003, 0)
tobj.set("gncabar_Ca", 0.003, 0)
tobj.set("glcabar_Ca", 0.015, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("CadepK")
tobj.set("gbkbar_CadepK", 0.0003, 0)
tobj.set("gskbar_CadepK", 0.0002, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("Na")
tobj.set("gmax_Na", 0.018, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.004, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("sKDR")
tobj.set("gmax_sKDR", 0.003, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(2).ml.append(tobj)
}
{
tobj = new MechanismStandard("Na")
tobj.set("gmax_Na", 0.013, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(3).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.004, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(3).ml.append(tobj)
}
{
tobj = new MechanismStandard("sKDR")
tobj.set("gmax_sKDR", 0.003, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(3).ml.append(tobj)
}
{
tobj = new MechanismStandard("Ca")
tobj.set("gtcabar_Ca", 0.001, 0)
tobj.set("gncabar_Ca", 0.001, 0)
tobj.set("glcabar_Ca", 0.015, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(3).ml.append(tobj)
}
{
tobj = new MechanismStandard("CadepK")
tobj.set("gbkbar_CadepK", 0.0005, 0)
tobj.set("gskbar_CadepK", 0.0001, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(3).ml.append(tobj)
}
{
tobj = new MechanismStandard("Ca")
tobj.set("gtcabar_Ca", 0.002, 0)
tobj.set("gncabar_Ca", 0.001, 0)
tobj.set("glcabar_Ca", 0.001, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(4).ml.append(tobj)
}
{
tobj = new MechanismStandard("CadepK")
tobj.set("gbkbar_CadepK", 0.0012, 0)
tobj.set("gskbar_CadepK", 0, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(4).ml.append(tobj)
}
{
tobj = new MechanismStandard("Na")
tobj.set("gmax_Na", 0.008, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(4).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.001, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(4).ml.append(tobj)
}
{
tobj = new MechanismStandard("sKDR")
tobj.set("gmax_sKDR", 0.003, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(4).ml.append(tobj)
}
{
tobj = new MechanismStandard("Ca")
tobj.set("gtcabar_Ca", 0.002, 0)
tobj.set("gncabar_Ca", 0.001, 0)
tobj.set("glcabar_Ca", 0, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(5).ml.append(tobj)
}
{
tobj = new MechanismStandard("CadepK")
tobj.set("gbkbar_CadepK", 0.0012, 0)
tobj.set("gskbar_CadepK", 0, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(5).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.001, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(5).ml.append(tobj)
}
{
tobj = new MechanismStandard("sKDR")
tobj.set("gmax_sKDR", 0.004, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(5).ml.append(tobj)
}
{
tobj = new MechanismStandard("Na")
tobj.set("gmax_Na", 0.21, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(6).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.028, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(6).ml.append(tobj)
}
{
tobj = new MechanismStandard("KA")
tobj.set("gmax_KA", 0.004, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(6).ml.append(tobj)
}
{
tobj = new MechanismStandard("Ca")
tobj.set("gtcabar_Ca", 0.00015, 0)
tobj.set("gncabar_Ca", 0.002, 0)
tobj.set("glcabar_Ca", 0.01, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("CadepK")
tobj.set("gbkbar_CadepK", 0.0003, 0)
tobj.set("gskbar_CadepK", 0.0005, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("Na")
tobj.set("gmax_Na", 0.12, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("fKDR")
tobj.set("gmax_fKDR", 0.016, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("sKDR")
tobj.set("gmax_sKDR", 0.003, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{
tobj = new MechanismStandard("KA")
tobj.set("gmax_KA", 0.012, 0)
tobj = new MStanWrap(tobj, 1)
bild.topol.slist.object(0).ml.append(tobj)
}
{object_pop()}
{
}
{object_push(manage)}
{
first = 0
classname = "Cell"
etop=1 esub=1 egeom=1 emem=1
itop=1 isub=0 igeom=0 imem=0
bild.topol.names_off = 0
bild.topol.circles_off = 0
output_index = 0 output_x = 1
thresh = 10
}
{object_pop()}
{
cexport()
}
{object_pop()}
{
save_window_=ocbox_.gtopol
save_window_.size(-200,200,-150,150)
scene_vector_[2] = save_window_
ocbox_.gtopol = save_window_
save_window_.save_name("ocbox_.gtopol")
}
{
ocbox_.map("CellBuild[0]", 49, 66, 723.6, 477.9)
}
objref ocbox_
//End CellBuild[0]
objectvar scene_vector_[1]
{doNotify()}