span class="bp">self</span><span class="o">.</span><span class="n">ampls</span><span class="p">[</span><span class="n">line_ct</span><span class="p">]</span>  <span class="c1"># Get amplitude</span>
            <span class="nb">print</span><span class="p">(</span><span class="n">amp_</span><span class="p">)</span>
            <span class="c1"># Calculate position of line given velocity</span>
            <span class="n">line_pos</span> <span class="o">=</span> <span class="p">(</span><span class="n">vel_</s