span> <span class="o">!=</span> <span class="s1">&#39;xyz&#39;</span><span class="p">:</span>
            <span class="n">datab</span> <span class="o">=</span> <span class="n">datar</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">datab</span> <span class="o">=</span> <span class="n">spd_to_xyz</span><span class="p">(</span><span class="n">datar</span><span class="p">,</span> <span class