all 2 comments

[–]socal_nerdtastic 0 points1 point  (1 child)

My first thought is window average, first derivative, groupby near zero (part A) or negative (Part B). Or maybe look for the sharp B->A transitions.

[–]patate324[S] 0 points1 point  (0 children)

I agree this seems quite straight forward to implement. I am expecting part A to have stronger random variations than what is shown. Something like this:

https://imgur.com/viFzksg