-quinn(x::Vector ; kwargs...)</code></pre><p>Algorithms by Quinn and Quinn & Fernandes for frequency estimation. Given a signal <code>x</code> and an initial guess <code>f0</code>, estimate and return the frequency of the largest sinusoid in <code>x</code>. <code>Fs</code> is the sampling frequency. All frequencies are expressed in Hz.</p><p>If the initial guess <code>f0</code> is not provided, then a guess is calculated using Jacobsen's estimator. If the sampling frequency <code>Fs</code> is not provided, then it is assumed that <code>Fs = 1.0</code>.</p><p>The following keyword arguments control the algorithm's behavior:</p><ul><li><code>tol</code>: the algorithm stops when the absolute value of the difference between two consecutive estimates is less than <code>tol</code>. Defaults to <code>1e-6</code>.</li><li><code>maxiters</code>: the maximum number of iterations to run. Defaults to <code>20</code>.</li></ul><p>Returns a tuple <code>(estimate, reachedmaxiters)</code>, where <code>estimate</code> is the estimated frequency, and <code>reachedmaxiters</code> is <code>true</code> if the algorithm finished after running for <code>maxiters</code> iterations (this may indicate that the algorithm did not converge).</p><p>If the signal <code>x</code> is real, then the algorithm used is <sup class="footnote-reference"><a id="citeref-Quinn1991" href="#footnote-Quinn1991" class="footnote-ref">[Quinn1991]</a><span class="footnote-preview" id="fn-Quinn1991"></span></sup>. If the signal is complex, the algorithm is <sup class="footnote-reference"><a id="citeref-Quinn2009" href="#footnote-Quinn2009" class="footnote-ref">[Quinn2009]</a><span class="footnote-preview" id="fn-Quinn2009"></span></sup>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaDSP/DSP.jl/blob/f4cb5d3453aa9b80d16dcabd2165b08c5468a5b7/src/estimation.jl#L117-L152">source</a></section></details></article><section class="footnotes is-size-7"><ul><li class="footnote" id="footnote-Roy1986"><a class="tag is-link" href="#citeref-Roy1986">Roy1986</a>R Roy, A Paulraj and T Kailath, ESPRIT - A subspace approach to estimation of parameters of cisoids in noise, IEEE Trans. Acoustics, Speech, Signal Process., 34, 1340-1342 (1986). <a href="http://ieeexplore.ieee.org/abstract/document/1164935/">http://ieeexplore.ieee.org/abstract/document/1164935/</a>.</li><li class="footnote" id="footnote-Jacobsen2007"><a class="tag is-link" href="#citeref-Jacobsen2007">Jacobsen2007</a>E Jacobsen and P Kootsookos, "Fast, Accurate Frequency Estimators", Chapter 10 in "Streamlining Digital Signal Processing", edited by R. Lyons, 2007, IEEE Press.</li><li class="footnote" id="footnote-Quinn1991"><a class="tag is-link" href="#citeref-Quinn1991">Quinn1991</a>B Quinn and J Fernandes, "A fast efficient technique for the estimation of frequency", Biometrika, Vol. 78 (1991).</li><li class="footnote" id="footnote-Quinn2009"><a class="tag is-link" href="#citeref-Quinn2009">Quinn2009</a>B Quinn, "Recent advances in rapid frequency estimation", Digital Signal Processing, Vol. 19 (2009), Elsevier.</li></ul></section></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../periodograms/">« <code>Periodograms</code> - periodogram estimation</a><a class="docs-footer-nextpage" href="../windows/"><code>Windows</code> - window functions »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.17.0 on <span class="colophon-date" title="Monday 6 April 2026 03:11">Monday 6 April 2026</span>. Using Julia version 1.12.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments