title: Peak Detection in Time Series
body: <p>I'm currently working on a little project in which I want to compare two time-series. The similarity measure is really vague, they are considered to be similar if the two time series roughly have the same shape.</p>
  
  <p>So I thought to myself "Well if they only need to have the same shape, I just compare the peaks of the two time-series, if the peaks are at the same position, then surely the time-series will be similar"</p>
  
  <p>My problem now is to find a good algorithm for the peak detection. I used google, but I only came up with the paper <a href="http://www.tcs-trddc.com/trddc_website/pdf/SRL/Palshikar_SAPDTS_2009.pdf" rel="noreferrer">Simple Algorithms for Peak Detection in Time-Series</a>. The problem is, the algorithms described in this paper work well with really extreme and thin peaks, but in the most cases, my <a href="https://i.stack.imgur.com/LQluB.png" rel="noreferrer">time-series</a> have rather flat peaks so they will not be detected.</p>
  
  <p>Does anybody know where I could find or search for an algorithm which would detect the peaks shown in the following image?</p>
  
  <p><img src="https://i.stack.imgur.com/LQluB.png" alt="time-series"></p>