pan><span class="n">sum</span><span class="p">()</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
            <span class="k">continue</span>

        <span class="n">uv</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">round</span><span class="p">(</span><span class="n">uv</span><span class="p">[</span><span class="n">valid_pts_bool</span><span class="p">])</span><span class="o">.</span><span class="n">astype</span><span class