Ectopic beat detection
One ectopic beat is defined as the beat that occurs out of the sinus node. One characteristic of these ectopic beats is the absence of P wave in the ECG beat morphology. Ventricular or supraventricular beats are considered ectopic beats. Thus, the ectopic beat detection (mostly known as incidences) is based on the regular rate of the normal beats (R peak). Two consecutive R peaks define an RR value. A time-varying threshold which is updated by the velocity of change of the RR time series detects those ectopic heartbeats.