  We develop an iterative, adaptive frequency sensing protocol based on Ramsey
interferometry of a two-level system. Our scheme allows one to estimate unknown
frequencies with a high precision from short, finite signals. It avoids several
issues related to processing of decaying signals and reduces the experimental
overhead related to sampling. High precision is achieved by enhancing the
Ramsey sequence to prepare with high fidelity both the sensing and readout
state and by using an iterative procedure built to mitigate systematic errors
when estimating frequencies from Fourier transforms.
