title: Power correlation between two normalized time-series signals in Python?
body: <p>I have two normalized ([1,0]) signals (images attached). Each signal has many peaks and dips. However, both signal have a maximum at approximately same time (in the attached pics, at 2.5 seconds both signals have maximum value of 1.0). I would to like to run correlation between two signals to have the maximum be at 2.5 s. When I run numpy.correlate, I get a peak at a different time step than where the maximum values are. How can I get a maximum correlation peak at time 2.5 s? Any ideas/suggestions would help greatly. Thanks!</p>
  
  <p><img src="https://i.stack.imgur.com/EgwvA.png" alt="signal 1"></p>
  
  <p><img src="https://i.stack.imgur.com/LMA4C.png" alt="signal 2"></p>