t</span><span class="p">(</span><span class="n">kernel_size</span> <span class="o">/</span> <span class="mi">2</span><span class="p">):</span><span class="o">-</span><span class="nb">int</span><span class="p">(</span><span class="n">kernel_size</span> <span class="o">/</span> <span class="mi">2</span><span class="p">)]</span>

    <span class="k">return</span> <span class="n">denoised_spectrum</span>


<span class="k">def</span> <span class="nf">_gauss</span><span class="p">(</span><span class="n">intensity