se</span><span class="p">:</span>
        <span class="k">if</span> <span class="n">datab</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
            <span class="n">wlr</span> <span class="o">=</span> <span class="n">data</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="c1"># use wlr of stimulus data</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">wlr</span> <span class="o">=</s