<span class="mi">0</span><span class="p">:</span><span class="n">length</span><span class="p">,</span> <span class="p">:]</span>
    <span class="k">return</span> <span class="n">y</span></div>


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