ss="p">()</span><span class="o">.</span><span class="n">smoothing_and_maps</span><span class="p">(</span><span class="n">n</span><span class="p">)</span>
        
        <span class="c1"># E_map is a dictonary with output lists of edges, but we should only have one edge to one edge in the mapper graph  case</span>
        <span class="c1"># This just strips E_map[key] = [(u,v,0)] to instead be E_map[key] = (u,v,0)</span>
        <span class="n">E_map</span> <span class="o">=</span> <span class="p">{</span>