n class="bp">cls</span><span class="p">,</span> <span class="n">stress_matrix</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">obj</span><span class="o">.</span><span class="n">view</span><span class="p">(</span><span class="bp">cls</span><span class="p">)</span>

    <span class="nd">@property</span>
    <span class="k">def</span> <span class="nf">dev_principal_invariants</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span cl