class="p">:</span>
        <span class="k">raise</span> <span class="ne">Exception</span><span class="p">(</span><span class="s2">&quot;Invalid div!&quot;</span><span class="p">)</span>

    <span class="k">return</span> <span class="n">Y</span></div>


<div class="viewcode-block" id="stft"><a class="viewcode-back" href="../../index_utils.html#libtsm.utils.stft">[docs]</a><span class="k">def</span> <span class="nf">stft</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span cla