n class="p">]</span>
    <span class="n">q</span> <span class="o">=</span> <span class="n">HEG</span><span class="o">.</span><span class="n">ec_lda</span><span class="p">[</span><span class="s2">&quot;spin_polerised&quot;</span><span class="p">]</span>
    <span class="n">e_x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">zeros</span><span class="p">(</span><span class="n">shape</span><span class="o">=</span><span class="n">s</span><span class="o">.</span><s