Patent ID: 7813802

Claim:
A method for treating a movement disorder in a human patient with an implantable neurostimulator comprising: receiving and continuously monitoring a signal from a sensor configured to sense electrical activity of the brain; processing the signal to digitize it; analyzing the signal to determine whether a tremor characteristic of an episode of the movement disorder is occurring, wherein analyzing the signal comprises: measuring an amplitude of the signal; calculating an average amplitude of the signal over a predetermined period of time; comparing the average amplitude to a dynamic threshold that is a fixed offset of a long-term moving average amplitude wherein the long-term moving average amplitude is calculated from data in which no tremors occur; and detecting a tremor event if the calculated average amplitude exceeds the dynamic threshold; and delivering a treatment to the patient from the neurostimulator for so long as the tremor event is detected and ceasing delivery of the treatment when the tremor event is no longer detected thereby delivering a therapy from the implantable neurostimulator in response to the tremor.