To enhance the ability to visualize P-waves in surface ECG data, an
algorithm is presented in which the ECG data is selectively passed through
first and second signal processing channels where one of the channels
includes signal processing elements for enhancing P-waves and the other
channel provides a delayed version of the original data. Upon detection of
an atrial pace event, the filtered or filtered and amplified data is
inserted into the data stream in place of the raw input signal for a
predetermined time interval sufficiently long to ensure the occurrence of
an atrial depolarization signal.