title: Peak Detection in Python: How does the scipy.signal.find_peaks_cwt function work?
body: <p>I'm looking to identify some peaks in some spectrograph data, and was trying to use the <code>scipy.signal.find_peaks_cwt()</code> function to do it.</p>
  <p>However, the <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.find_peaks_cwt.html" rel="nofollow noreferrer">official documentation</a> I've found isn't too descriptive, and tends to pick up false peaks in noise while sometimes not picking up actual peaks in the data.</p>
  <p>Could anyone give me a better explanation of the parameters in this function that I can play with, including &quot;widths&quot;, or could you show me some alternatives?</p>