len</span><span class="p">(</span><span class="n">currd</span><span class="p">)):</span>
      <span class="n">temparr</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">mean</span><span class="p">(</span>
          <span class="n">signal</span><span class="o">.</span><span class="n">coherence</span><span class="p">(</span><span class="n">currd</span><span class="p">[</span><span class="n">i</span><span class="p