In a method for automatic creation of a template for a morphology sensitive detector
for an implantable cardiac stimulating device and a cardiac stimulating device
operating according to the method, a predetermined length of the heart signal is
recorded and filtered, all deflections exceeding a predetermined amplitude are
identified and stored based on the condition that selected deflections must be
separated at least by a predetermined amount of time, all selected deflections
are categorized into separate classes, and the most representative class or classes
for creation of the template is selected.