4

I am looking for the minimum point in a plot on Python. Is there an opposite version of the "from scipy.signal import find_peaks"? How would you find the x-point of the local minima of a graph on python?

  • 2
    use the negative version of your signal – Aly Hosny Apr 22 '20 at 13:11
  • Does this answer your question? [How to make findpeak function detect the negative peaks not the positive ones](https://stackoverflow.com/questions/26836696/how-to-make-findpeak-function-detect-the-negative-peaks-not-the-positive-ones) – BeastOfCaerbannog Jan 03 '22 at 10:37

1 Answers1

12

Just flip the data upside down and look for the peaks.

scipy.signal.find_peaks(-x)
Graham S
  • 1,642
  • 10
  • 12