class="n">window</span> <span class="o">=</span> <span class="n">win</span><span class="p">(</span><span class="n">win_length</span><span class="p">,</span> <span class="n">win_beta</span><span class="p">)</span>

    <span class="c1"># Zero-pad the window</span>
    <span class="n">w</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">concatenate</span><span class="p">((</span><span class="n">np</span><span class="o">.</span><span class="n">zeros</span><span cla