-</span>
<span class="sd">    y : np.ndarray [shape=(length, )], real or complex - valued</span>
<span class="sd">        Signal with modified length</span>
<span class="sd">    &quot;&quot;&quot;</span>

    <span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">xf</span><span class="p">[:,</span> <span class="mi">0</span><span class="p">])</span> <span class="o">&lt;</span> <span class="n">length</span><span class="p">:</span>
        <span class="n">pad_len</span> <s