> to </span><span class="si">{</span><span class="n">idx</span><span class="p">[</span><span class="n">en</span><span class="p">]</span><span class="si">}</span><span class="s2">  (</span><span class="si">{</span><span class="n">gap_len</span><span class="si">}</span><span class="s2"> samples missing)&quot;</span><span class="p">)</span>

        <span class="c1"># pre-gap context</span>
        <span class="n">pre_idxs</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="n">j</spa