span><span class="n">ave_largest</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">amax</span><span class="p">(</span><span class="n">damid_average</span><span class="p">)</span>
<span class="n">ave_smallest</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">amin</span><span class="p">(</span><span class="n">damid_average</span><span class="p">)</span>

<span class="n">rp_pos</span> <span class="o">=</span> <span cl