// From Aradi and Holmes (1999)
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[3]
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, 387, 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
0
{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, 387, 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, 364.5, 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, 379.8, 702)
}
objref ocbox_
//End ChannelBuild[3] managed KSChan[3]
objectvar scene_vector_[1]
{doNotify()}