neurenv/hoc/TMS_sim_simple.hoc
2026-07-11 18:20:01 -04:00

16 lines
244 B
Plaintext

func TMS_sim_simple(){ localobj nil, detector
axon detector = new NetCon(&v(0.5), nil)
detector.threshold = 0
detector.record("handle()")
init()
tstop = 2
run()
return fired
}
proc handle(){
fired = 1
stoprun = 1
}