span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
    <span class="c1"># Preprocess intensity_data and spectral axis</span>
    <span class="n">updated_intensity_data</span> <span class="o">=</span> <span class="o">...</span>
    <span class="n">updated_spectral_axis</span> <span class="o">=</span> <span class="o">...</span>

    <span class="k">return</span> <span class="n">updated_intensity_data</span><span class="p">,</span> <span class="n">updated_spectral_axis</span>