title: how to detect the rising edge of the signal (the rising edge consists of several points)?
body: <p>I have a signal in </p>
  
  <p><img src="https://i.stack.imgur.com/HjASQ.png" alt="figure 1"></p>
  
  <p>and I want to detect the rising edge of the signal and obtain a curve which has the peak point in the position of (x=147), I have tried to make difference of the signal, but the peak point is in the position of x=144 just like</p>
  
  <p><img src="https://i.stack.imgur.com/E70Ud.png" alt="figure 2">.</p>
  
  <p>Therefore, is there any ways to detect the rising edge of the signal in figure 1 and produce a curve which has the peak point in the position of (x=147)?</p>
  
  <p>I want a curve with the peak point in x=147 (just like figure 2) instead of just the number of the location 147.    </p>