="o">+=</span> <span class="p">[</span><span class="s1">&#39;convert&#39;</span><span class="p">]</span>

<div class="viewcode-block" id="convert">
<a class="viewcode-back" href="../../../toolboxes.html#luxpy.toolboxes.rgb2spec.convert">[docs]</a>
<span class="k">def</span> <span class="nf">convert</span><span class="p">(</span><span class="n">rgb</span><span class="p">,</span> <span class="n">linearized_rgb</span> <span class="o">=</span> <span class="kc">True</span><span class="p">,</span> <span class="n"