An Atrial Activity Based Algorithm For The Single-Beat Rateindependent Detection Of Atrial Fibrillation