">findpeaks</span>
<span class="c1"># Initialize findpeaks with cearus method.</span>
<span class="c1"># The default setting is that it only return peaks-vallyes with at least 5% difference. Change this using params</span>
<span class="n">fp</span> <span class="o">=</span> <span class="n">findpeaks</span><span class="p">(</span><span class="n">method</span><span class="o">=</span><span class="s1">&#39;caerus&#39;</span><span class="p">,</span> <span class="n">params</span><span class="o">=</span><span class