Patent attributes
A neurostimulation system senses electrographic signals from the brain of a patient, extracts features from the electrographic signals, and when the extracted features satisfy certain criteria, detects a neurological event type. A mapping function relates the detected neurological event type to a stimulation parameter subspace and a default stimulation parameter set where the values of the stimulation parameters define an instance of stimulation therapy for the patient. The decision whether to implement a stimulation parameter subspace or a default stimulation parameter set may be informed by integrating other information about a state of the patient. A stimulation parameter subspace or stimulation parameter set may optimized by testing it against various thresholds until certain effectiveness criteria is satisfied. The neurological event type may be one of several electrographic seizure onset types.