  <span class="n">t</span> <span class="o">=</span> <span class="n">win_pos</span> <span class="o">/</span> <span class="n">Fs</span>
    <span class="n">f</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">arange</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="o">*</span> <span class="n">Fs</span> <span clas