Patent attributes
This document discusses, among other things, systems and methods for managing pain of a subject. A system includes one or more physiological sensors configured to sense a physiological signal indicative of patient brain activity. The physiological signals may include an electroencephalography signal, a magnetoencephalography signal, or a brain-evoked potential. The system may extract from the brain activity signal one or more signal metrics indicative of strength or pattern of brain electromagnetic activity associated with pain, and generate a pain score using the one or more signal metrics. The pain score can be output to a patient or a process. The system may select an electrode configuration for pain-relief electrostimulation based on the pain score, and deliver a closed-loop pain therapy according to the selected electrode configuration.