1. Functions overview¶
1.1. xarray_symTensor2d xr.DataArray accessor¶
-
class
xarray_symTensor2d.xarray_symTensor2d.
sT
(xarray_obj)¶ This is a classe to work on 2d symetric Tensor of dim 3x3 in xarray environnement.
Only 6 components are stored (exx,eyy,ezz,exy,exz,eyz)
-
__init__
(xarray_obj)¶ Initialize self. See help(type(self)) for accurate signature.
-
__weakref__
¶ list of weak references to the object (if defined)
-
eigh
(absmax=False)¶ Export eigen vector and eigen value
- Parameters
absmax (bool) – return the absolut maximum eigenvalue and eigenvector (‘a_am’ a,d ‘e_am’)
Return xr.Dataset where ai are the eigen value and ei are the associated eigen vector that can be used with uvecs accessor.
-
eqVonMises
(lognorm=False)¶ Compute the equivalent deforamtion of Von Mises (https://en.wikipedia.org/wiki/Infinitesimal_strain_theory)
- Return eqVM
(2./3.e_ij.e_ij)**0.5
- Rtype eqVM
xr.DataArray
-
mean
(axis='tyy')¶ Compute the average of one componant
- Parameters
axis (str) – txx,tyy,tzz,txy,txz,tyz
- Return mean
average of this component
- Rtype mean
xr.DataArray
-
to_square
()¶ return xr.DataArray as square matrix
-