File: demo.ses

package info (click to toggle)
neuron 8.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,768 kB
  • sloc: cpp: 149,571; python: 58,449; ansic: 50,329; sh: 3,510; xml: 213; pascal: 51; makefile: 35; sed: 5
file content (69 lines) | stat: -rwxr-xr-x 1,781 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[2]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List()  scene_list_ = new List()}
{pwman_place(0,25,0)}
{
xpanel("Temperature", 0)
celsius = 16.3
xvalue("celsius","celsius", 1,"", 0, 1 )
xpanel(383,204)
}

//Begin VariableTimeStep
{
ocbox_ = NumericalMethodPanel[0]
}
{object_push(ocbox_)}
{
atol_ = 0.001  CVode[0].atol(atol_)
restore(1, 1)
}
{object_pop()}
{
ocbox_.map("VariableTimeStep", 377, 684, 280.32, 106.56)
}
objref ocbox_
//End VariableTimeStep

{
xpanel("RunControl", 0)
v_init = -65
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 = 5
xvalue("Tstop","tstop", 1,"tstop_changed()", 0, 1 )
dt = 0.025
xvalue("dt","dt", 1,"setdt()", 0, 1 )
steps_per_ms = 40
xvalue("Points plotted/ms","steps_per_ms", 1,"setdt()", 0, 1 )
screen_update_invl = 0.05
xvalue("Scrn update invl","screen_update_invl", 1,"", 0, 1 )
realtime = 0
xvalue("Real Time","realtime", 0,"", 0, 1 )
xpanel(377,289)
}
{
xpanel("NEURON Demonstrations", 0)
xvarlabel(demolabel)
xradiobutton("Patch: HH","demo(1)")
xradiobutton("Stylized","demo(2)")
xradiobutton("Pyramidal","demo(3)")
xradiobutton("Release","demo(4)")
xradiobutton("Synchronizing net (artificial cells)","demo(5)")
xradiobutton("LinearCircuit: Dynamic Clamp","demo(6)")
xradiobutton("Stochastic Single Channels: HH","demo(7)")
xradiobutton("No model","demo(0)")
xpanel(383,0)
}
objectvar scene_vector_[1]
{doNotify()}