  We explore the performance of a recursive least-squares algorithm to
determine the bandwidth $\omega_{12}$ and the detuning $\Delta\omega$ of a
superconducting cavity. We base the simulations on parameters of the ESS
double-spoke cavities. Expressions for the signal-to-noise ratio of derived
parameters are given to explore the applicability of the algorithm to other
configurations.
