Patent ID: 8532757

Claim:
A method comprising, with one or more processors: determining a frequency domain characteristic for each bioelectrical brain signal of a plurality of bioelectrical signals sensed in a brain of a patient with a respective electrode of a plurality of electrodes; determining a plurality of relative values of the frequency domain characteristic, wherein each of the plurality of relative values is based on at least two of the frequency domain characteristics; determining whether a first relative value of the plurality of relative values is greater than or less than at least one other relative value of the plurality of relative values; in response to determining that the first relative value is greater than or less than the at least one other relative value, determining whether a second relative value of the plurality of relative values is greater than or less than another relative value of the plurality of relative values; determining whether a target tissue site is positioned between two electrodes of the plurality of electrodes based on determining whether the first relative value is greater than or less than at least one other relative value and based on determining whether the second relative value is greater than or less than another relative value; and selecting at least one electrode of the plurality of electrodes for delivering stimulation to the patient based on determining whether the target tissue site is positioned between the two electrodes.