A control-theoretic system identification framework and a real-time closed-loop clinical simulation testbed for electrical brain stimulation. (17th September 2018)