A method for analyzing signals, including: sensing a time-varying intracardiac potential signal and finding a fit of the time-varying intracardiac potential signal to a predefined oscillating waveform. The method further includes estimating an annotation time of the signal responsive to the fit.