r each rgb value, first row are the wavelengths)</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="k">return</span> <span class="n">rgb_to_spec_smits</span><span class="p">(</span><span class="n">rgb</span><span class="p">,</span> <span class="n">intent</span> <span class="o">=</span> <span class="n">intent</span><span class="p">,</span>  <span class="n">linearized_rgb</span> <span class="o">=</span> <span class="n">linearized_rgb</span><span class="p">,</span> <span class="n">bitdepth<