Fig. (1) Block diagram of the Pan-Tompkins’ (PTA) and improved fetal Pan-Tompkins’ (IFPTA) algorithms for R-peak detection.