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

17 lines
304 B
Plaintext

func TMS_sim_simple(){ localobj nil, detector
axon detector = new NetCon(&v(0.5), nil)
detector.threshold = 0
detector.record("handle()")
printf("Init entered\n")
init()
printf("Init exited\n")
run()
return fired
}
proc handle(){
fired = 1
stoprun = 1
}