pan>
<span class="sd">    |     state: iDEA.state.SingleBodyState, State. (default = None)</span>

<span class="sd">    | Returns:</span>
<span class="sd">    |     E: float, Total energy.</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="n">E</span> <span class="o">=</span> <span class="n">iDEA</span><span class="o">.</span><span class="n">observables</span><span class="o">.</span><span class="n">single_particle_energy</span><span class="p">(</span><span class="n">s</span><span class="