-block" id="gap_distance">
<a class="viewcode-back" href="../../../vtools.data.html#vtools.data.gap.gap_distance">[docs]</a>
<span class="k">def</span> <span class="nf">gap_distance</span><span class="p">(</span><span class="n">ts</span><span class="p">,</span> <span class="n">disttype</span><span class="o">=</span><span class="s2">&quot;count&quot;</span><span class="p">,</span> <span class="n">to</span><span class="o">=</span><span class="s2">&quot;good&quot;</span><span class="p">):</span>
<span class="w