ss="n">np2dT</span><span class="p">(</span><span class="n">Lb</span><span class="p">)</span>

    <span class="c1"># Setup EEW ref of same luminance as datab:</span>
    <span class="k">if</span> <span class="n">inputtype</span> <span class="o">==</span> <span class="s1">&#39;xyz&#39;</span><span class="p">:</span>
        <span class="n">wlr</span> <span class="o">=</span> <span class="n">getwlr</span><span class="p">(</span><span class="n">_CAM18SL_WL3</span><span class="p">)</span>
    <span class="k">el