ass="o">=</span><span class="mi">0</span><span class="p">)</span>

        <span class="n">spec</span><span class="p">[:,</span> <span class="n">i</span><span class="p">]</span> <span class="o">=</span> <span class="n">Xi</span><span class="p">[</span><span class="mi">0</span><span class="p">:</span><span class="n">win_len_half</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">0</span><span class="p">]</span>

    <span class="c1"># Axis calculation</span>
  