Local variable time step method (Lytton, Hines 2005)

 Download zip file   Auto-launch 
Help downloading and running models
Accession:33975
The local variable time-step method utilizes separate variable step integrators for individual neurons in the network. It is most suitable for medium size networks in which average synaptic input intervals to a single cell are much greater than a fixed step dt.
Reference:
1 . Lytton WW, Hines ML (2005) Independent variable time-step integration of individual neurons for network simulations. Neural Comput 17:903-21 [PubMed]
Citations  Citation Browser
Model Information (Click on a link to find other models with that property)
Model Type:
Brain Region(s)/Organism:
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: NEURON;
Model Concept(s): Methods;
Implementer(s): Hines, Michael [Michael.Hines at Yale.edu];
load_file("nrngui.hoc")
load_file("rings.hoc")

nring = 10
ncell = 10
invalid = 1

proc do_setup() { local x
	x = startsw()
	setup_time = -1
	run_time = -1
	invalid = 1
	doNotify()
	mkrings(nring, ncell)
	setup_time = startsw() - x
	invalid = 0
}

proc run() {local x
	if (invalid) { do_setup() }
	x = startsw()
	run_time = -1
	stdinit()
	continuerun(tstop)
	run_time = startsw() - x
}

/*
xpanel("Individual Ring Performance Runs")
xpvalue("Number of Rings", &nring, 1, "invalid=1")
xpvalue("Number of Cells/Ring", &ncell, 1, "invalid=1")
xpvalue("Number of Compartments/Cell", &ns, 1, "invalid=1")
xcheckbox("Need to Setup", &invalid, "do_setup()")
xpvalue("Setup Time (s)", &setup_time)
xpvalue("Run Time (s)", &run_time)
xbutton("Run", "run()")
xpanel(50, 300)
*/
mkrings(1,1)
load_file("rings2.ses")

do_setup()