quot;types&quot;</span><span class="p">]]</span>

        <span class="n">cell</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">(</span><span class="bp">self</span><span class="p">[</span><span class="s2">&quot;lattvec&quot;</span><span class="p">])</span>

        <span class="k">if</span> <span class="s2">&quot;lfactor&quot;</span> <span class="ow">in</span> <span class="bp">self</span><span class="p">:</span>
            <span cl