


<span class="k">def</span> <span class="nf">_savgol</span><span class="p">(</span><span class="n">intensity_data</span><span class="p">,</span> <span class="n">spectral_axis</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
    <span class="k">return</span> <span class="n">savgol_filter</span><span class="p">(</span><span class="n">intensity_data</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p