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


<span class="k">def</span> <span class="nf">_whittaker</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="n">lam</span><span class="p">,</span> <span class="n">d</span><span class="p">):</span>
    <span class="n">I</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">eye</span><span class="p">(</span