Methods and systems for automatic detection of Atrial Fibrillation (AF) are disclosed. The methods and systems use time-varying coherence functions (TVCF) to detect AF. The TVCF is estimated by the multiplication of two time-varying transfer functions (TVTFs).