Optimal lead configuration in the detection and subtraction of QRS and T wave templates in atrial fibrillation | IEEE Conference Publication | IEEE Xplore