s="n">array</span><span class="p">,</span> <span class="n">xyz</span><span class="p">,</span> <span class="n">z_indices</span><span class="p">,</span> <span class="n">x_indices</span><span class="p">,</span> <span class="n">T</span><span class="p">,</span> <span class="n">z_comb</span><span class="p">,</span> <span class="n">neighbors</span><span class="p">,</span> <span class="n">seed</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
        <span class="c1"># Generate ran