Detect a pattern in time series data
scipy.signal's finds_peaks should have most of what you need. 

With the height argument you can set a minimum threshold to get the first peak. 

With the prominence argument you should be able to approximate the second peak. This requires peak_prominences. 


  The prominence of a peak measures how much a peak stands out from the
  surrounding baseline of the signal and is defined as the vertical
  distance between the peak and its lowest contour line.