Periodic beat detector 32 analyzes the EGM to determine whether artifacts, such as motion artifacts, are present in the EGM. More particularly, periodic beat detector 32 analyzes the EGM to determine whether periodic beats are present in the EGM, which may indicate that the other components of the EGM are artifacts.