pan class="n">split</span><span class="p">(</span><span class="n">yf</span><span class="p">,</span> <span class="p">[</span><span class="mi">1</span><span class="p">])[</span><span class="mi">1</span><span class="p">]</span>
    <span class="n">yf</span> <span class="o">=</span> <span class="n">yf</span><span class="o">/</span><span class="nb">max</span><span class="p">(</span><span class="n">yf</span><span class="p">)</span>  <span class="c1"># Normalizes fourier transform based on maximum density</span>
 