 <span class="k">def</span> <span class="nf">_get_indices</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">n_atoms</span><span class="p">,</span> <span class="n">include</span><span class="p">,</span> <span class="n">exclude</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;Given the number of atoms and which indices to include or exclude,</span>
<span class="sd">        returns a list of final indices that wil