Closed-loop electrical stimulation prevents focal epilepsy progression and long-term memory impairment | Synapse