an><span class="p">(</span><span class="nb">float</span><span class="p">(</span><span class="n">max3</span><span class="p">)</span> <span class="o">/</span> <span class="n">max1</span><span class="p">)</span> <span class="o">/</span> <span class="n">np</span><span class="o">.</span><span class="n">log2</span><span class="p">(</span><span class="mi">3</span><span class="p">)</span>
            <span class="k">if</span> <span class="n">dim</span> <span class="o">==</span> <span class="nb">int</span><span clas