Find the peaks

see my post here, I have made a go at a calculation for this