objectvar save_window_, rvp_
objectvar scene_vector_[4]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List()  scene_list_ = new List()}
{pwman_place(-1,-17)}
{
xpanel("NEURON Main Panel", 0)
realtime = 24
xvalue("Real Time","realtime", 0,"", 0, 1 )
celsius = 35
xvalue("celsius","celsius", 1,"", 0, 1 )
global_ra = 92
xvalue("Axial Resistivity","global_ra", 1,"set_ra()", 1, 1 )
xbutton("RunControl","nrncontrolmenu()")
xmenu("New Graph")
xbutton("Voltage axis","newPlotV()")
xbutton("Current axis","newPlotI()")
xbutton("State axis","newPlotS()")
xbutton("Shape plot","newshapeplot()")
xbutton("Vector movie","newvectorplot()")
xbutton("Phase Plane","newphaseplane()")
xbutton("Grapher","load_proc(\"makegrapher\") makegrapher()")
xmenu()
xmenu("Point Processes")
xmenu("Managers")
xbutton("Point Manager","load_template(\"PointProcessManager\") makeppm()")
xbutton("Electrode","load_proc(\"makeelectrode\") makeelectrode()")
xmenu()
xmenu("Viewers")
xmenu("PointProcesses")
xbutton("IClamp","makePointBrowser(\"IClamp\")")
xbutton("AlphaSynapse","makePointBrowser(\"AlphaSynapse\")")
xbutton("SEClamp","makePointBrowser(\"SEClamp\")")
xbutton("VClamp","makePointBrowser(\"VClamp\")")
xbutton("APCount","makePointBrowser(\"APCount\")")
xbutton("ramp1","makePointBrowser(\"ramp1\")")
xbutton("ramp2","makePointBrowser(\"ramp2\")")
xbutton("PulseStim","makePointBrowser(\"PulseStim\")")
xbutton("stim1","makePointBrowser(\"stim1\")")
xbutton("syn2","makePointBrowser(\"syn2\")")
xbutton("tau2","makePointBrowser(\"tau2\")")
xmenu()
xmenu()
xmenu()
xmenu("Distributed Mechanisms")
xmenu("Managers")
xbutton("Inserter","load_template(\"Inserter\") makeinserter()")
xbutton("Homogeneous Spec","load_proc(\"makeshowmechanism\") makeshowmechanism()")
xmenu()
xmenu("Viewers")
xbutton("Shape Name","load_template(\"MenuExplore\") makeMenuExplore()")
xbutton("Name Values","nrnallsectionmenu()")
xmenu("Mechanisms (Globals)")
xbutton("na_ion","nrnglobalmechmenu(\"na_ion\")")
xbutton("k_ion","nrnglobalmechmenu(\"k_ion\")")
xbutton("hh","nrnglobalmechmenu(\"hh\")")
xbutton("q","nrnglobalmechmenu(\"q\")")
xbutton("nakhh","nrnglobalmechmenu(\"nakhh\")")
xmenu()
xmenu()
xmenu()
xmenu("Miscellaneous")
xbutton("Family","load_template(\"Family\") makeFamily()")
xbutton("Parameterized Function","load_template(\"FunctionFitter\") makefitter()")
xbutton("Run Fitter","load_template(\"RunFitter\") makerunfitter()")
xmenu()
xpanel(-1,-17)
}
{
load_template("RunFitter")}
{
ocbox_=new RunFitter()
runfit_master = ocbox_
}
{object_push(ocbox_)}
{
spec_fit_var("dend1[7].v(0.5)")
spec_parms("rmsoma=10000*$1", 4.3, 0.1, 10, 1)
tolerance = 1e-05
spec_parms("rmend=10000*$1", 1.0025, 0.1, 10, 1)
tolerance = 1e-05
spec_parms("rmhalfdis=100*$1", 4.8, 0.1, 10, 1)
tolerance = 1e-05
spec_parms("init_nurm3($1)", 1.06, 0.5, 2, 1)
tolerance = 1e-05
init_weights(6)
quiet_ = 0
normweight = 1
w_boundary.x[0] = 0
w_weight.x[0] = 1
w_boundary.x[1] = 50.1982
w_weight.x[1] = 0
w_boundary.x[2] = 150.090
w_weight.x[2] = 1
w_boundary.x[3] = 249.982
w_weight.x[3] = 2
w_boundary.x[4] = 398.811
w_weight.x[4] = 1
w_boundary.x[5] = 401.838
w_weight.x[5] = 0
w_boundary.x[6] = 504
w_weight.x[6] = 1
build_deck()
read_data1("SBOTHCS.DAT")}
{object_pop()}
{
{save_window_=ocbox_.g
ocbox_.g = save_window_
save_window_.save_name("ocbox_.g")
}
ocbox_ = ocbox_.vbox
ocbox_.map("C:NRNBINNEURON.EXE", -1, -17, 504, 456)}
objref ocbox_
{
load_template("RunFitter")}
{
ocbox_=new RunFitter(1)
runfit_master.slaves_.append(ocbox_)
ocbox_.set_master(runfit_master)
}
{object_push(ocbox_)}
{
spec_fit_var("dend1[134].v(0.01)")
init_weights(6)
normweight = 1
w_boundary.x[0] = 0
w_weight.x[0] = 1
w_boundary.x[1] = 50.1982
w_weight.x[1] = 0
w_boundary.x[2] = 150.090
w_weight.x[2] = 1
w_boundary.x[3] = 249.982
w_weight.x[3] = 2
w_boundary.x[4] = 398.811
w_weight.x[4] = 1
w_boundary.x[5] = 414.955
w_weight.x[5] = 2
w_boundary.x[6] = 504
w_weight.x[6] = 1
read_data1("DBOTHCS.DAT")}
{object_pop()}
{
{save_window_=ocbox_.g
ocbox_.g = save_window_
save_window_.save_name("ocbox_.g")
}
ocbox_ = ocbox_.vbox
ocbox_.map("C:NRNBINNEURON.EXE", -1, -17, 455, 317)}
objref ocbox_
{
xpanel("RunControl", 0)
v_init = -78
xvalue("Init","v_init", 1,"stdinit()", 1, 1 )
xbutton("Init & Run","run()")
xbutton("Stop","stoprun=1")
runStopAt = 5
xvalue("Continue til","runStopAt", 1,"{continuerun(runStopAt) stoprun=1}", 1, 1 )
runStopIn = 1
xvalue("Continue for","runStopIn", 1,"{continuerun(t + runStopIn) stoprun=1}", 1, 1 )
xbutton("Single Step","steprun()")
t = 0
xvalue("t","t", 2 )
tstop = 504
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.50401
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 1.9841
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
xpanel(-1,-17)
}
objectvar scene_vector_[1]