 Finds minimum persistence for a given diagram</span>

<span class="sd">    :param Dgm:</span>
<span class="sd">        A 2D numpy array</span>

<span class="sd">    :returns: </span>
<span class="sd">        (float) Minimum persistence for the given diagram</span>

<span class="sd">    &quot;&quot;&quot;</span>
    <span class="k">try</span><span class="p">:</span>
        <span class="n">lifetimes</span> <span class="o">=</span> <span class="n">Dgm</span><span class="p">[:,</span> <span class="mi">1</span