A method for detecting heart beats within a cardiac signal is disclosed. A cardiac signal is acquired and segmented. Peak detection is performed within each segment. A search within the detected peaks is performed to locate physiologically permissible peak sequences. A particular peak sequence is selected based on feature space criteria or interpeak temporal regularity criteria or both.