Patent ID: 7765088

Claim:
A method of selectively storing signal data in an implantable device, comprising: (a) in response to initiation of a recording period, storing signal data in a buffer of an implantable device in a circular manner, the buffer being configured to store at least three buffer periods of data, the storing including a determination of a new local value each time signal data is stored; (b) automatically setting a global extreme value equal to the new local value when the new local value exceeds the global extreme value; (c) storing signal data in the buffer in a first buffer period following the determination of a new global extreme value and repeating step (b) if a local value associated with signal data stored in the buffer during the first buffer period is determined to exceed the global extreme value; (d) storing signal data in the buffer in a circular manner for a second buffer period and repeating step (b) if a subsequent signal data being stored in the second buffer period is determined to exceed the global extreme value; and (e) storing at least a portion of the signal data in the buffer in a memory if the signal data in the buffer is determined to be of interest.