an><span class="p">),</span> <span class="n">spectral_axis</span>


<span class="k">def</span> <span class="nf">_kernel_spectrum</span><span class="p">(</span><span class="n">intensity_values_array</span><span class="p">,</span> <span class="n">method</span><span class="p">,</span> <span class="n">kernel_size</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Adapted from: https://scipy-cookbook.readthedocs.io/items/SignalSmooth.html?hi