 np.ndarray, &quot;invalid obs type&quot; </span>
        <span class="n">curr_val</span> <span class="o">=</span> <span class="n">obs</span> <span class="c1">#[self.TandR_monitor_idx]</span>

        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">TandR_monitor_limit</span> <span class="o">&gt;=</span> <span class="n">curr_val</span><span class="p">:</span>
            <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n"