)[:,</span> <span class="mi">0</span><span class="p">]</span>

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


<div class="viewcode-block" id="comp_env"><a class="viewcode-back" href="../../index_utils.html#libtsm.utils.comp_env">[docs]</a><span class="k">def</span> <span class="nf">comp_env</span><span class="p">(</span><span class="n">X</span><span class="p">,</span> <span class="n">filt_len</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">np</span>