> <span class="n">alpha_</span><span class="p">)</span>
            <span class="n">all_betti_numbers_</span><span class="p">[</span><span class="n">aps_idx</span><span class="p">,</span> <span class="p">:,</span> <span class="n">idx</span><span class="p">]</span> <span class="o">=</span> <span class="n">betti_vals_</span>

    <span class="k">if</span> <span class="n">plotting</span><span class="p">:</span>
        <span class="k">for</span> <span class="n">aps_idx</span><span class="p">,</span> <span clas