s="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">abs</span><span class="p">(</span><span class="n">X</span><span class="p">),</span> <span class="n">kern</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">&#39;same&#39;</span><span class="p">)</span>  <span class="c1"># not equivalent to Matlab&#39;s conv2()</span>
    <span class="n">env</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class=