CPC A61N 1/36175 (2013.01) [A61N 1/0534 (2013.01); A61N 1/36135 (2013.01); A61N 1/36192 (2013.01); A61N 1/37235 (2013.01)] | 16 Claims |
1. A method comprising:
determining, by an implantable medical device (IMD), an electrode of a plurality of electrodes of a lead to be used to deliver electrical stimulation to a patient at a particular time;
selecting, by the IMD and based on the determined electrode, a set of electrodes of the plurality of electrodes;
sensing, by the IMD and via the selected set of electrodes, electrical signals of the patient at the particular time, wherein sensing the electrical signals comprises:
sensing, via the selected set of electrodes, first electrical signals at the particular time; and
sensing, via the selected set of electrodes, second electrical signals during a sense window that does not include the particular time;
determining an amplitude of the electrical stimulation; and
adjusting a delay of the sense window based on the determined amplitude, the delay representing an amount of time between when the electrical stimulation was delivered and when the sense window opens.
|