How to identify decreasing intervals in noisy data? I have multiple segments of data that look similar to the one in the image: