an><span class="n">size</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">peaks</span><span class="p">,</span> <span class="n">infl_region_start</span><span class="p">,</span> <span class="n">infl_region_end</span>

    <span class="n">infl_region_start</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="mi">0</span>
    <span class="n">infl_region_start</s