n class="p">[:,</span> <span class="mi">0</span><span class="p">]</span> <span class="o">&lt;</span> <span class="n">start</span><span class="p">),</span> <span class="p">(</span><span class="n">Dgm</span><span class="p">[:,</span> <span class="mi">1</span><span class="p">]</span> <span class="o">&gt;</span> <span class="n">end</span><span class="p">)))</span>

    <span class="k">return</span> <span class="n">vecOfThresholds</span><span class="p">,</span> <span class="n">Betti</span></div>



<div class="v