method_002.png" srcset="../../_images/sphx_glr_plot_ii_custom_method_002.png" alt="Raman spectra" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;Axes: title={&#39;center&#39;: &#39;Raman spectra&#39;}, xlabel=&#39;Raman shift (cm$^{{{-1}}}$)&#39;, ylabel=&#39;Intensity (a.u.)&#39;&gt;
</pre></div>
</div>
<p>The custom method can also be directly integrated into pipelines as follows:</p>
<div class="highlight-default not