pyvale.strain.strainresults module

class StrainResults(window_x, window_y, def_00, def_01, def_10, def_11, def_20, def_21, eps_xx, eps_xy, eps_yx, eps_yy, filenames, x_mm=None, y_mm=None, z_mm=None)[source]

Bases: object

Data container for Strain analysis results. This dataclass stores the strain window coordinates, 2D deformation gradient and strain values.

Variables:
  • window_x (np.ndarray) – The x-coordinates of the strain window centre. shape=(img_num,y,x)

  • window_y (np.ndarray) – The y-coordinates of the strain window centre. shape=(img_num,y,x)

  • x_mm (np.ndarray | None) – X-coordinate of the strain window centre in physical units relative to cam0.

  • y_mm (np.ndarray | None) – Y-coordinate of the strain window centre in physical units relative to cam0.

  • z_mm (np.ndarray | None) – Z-coordinate of the strain window centre in physical units relative to cam0.

  • def_00 (np.ndarray) – The xx component (1 + ∂u/∂x) of the deformation gradient matrix. shape=(img_num, y, x)

  • def_01 (np.ndarray) – The xy component (∂u/∂y) of the deformation gradient matrix. shape=(img_num, y, x)

  • def_10 (np.ndarray) – The yx component (∂v/∂x) of the deformation gradient matrix. shape=(img_num, y, x)

  • def_11 (np.ndarray) – The yy component (1 + ∂v/∂y) of the deformation gradient matrix. shape=(img_num, y, x)

  • def_20 (np.ndarray) – The zx component (∂w/∂x) of the deformation gradient matrix. shape=(img_num, y, x)

  • def_21 (np.ndarray) – The zy component (∂w/∂y) of the deformation gradient matrix. shape=(img_num, y, x)

  • eps_xx (np.ndarray) – The xx component of the surface strain tensor. shape=(img_num, y, x)

  • eps_xy (np.ndarray) – The xy component of the surface strain tensor. shape=(img_num, y, x)

  • eps_yx (np.ndarray) – The yx component of the surface strain tensor. shape=(img_num, y, x)

  • eps_yy (np.ndarray) – The yy component of the surface strain tensor. shape=(img_num, y, x)

  • filenames (list[str]) – name of Strain result files that have been found

window_x
window_y
def_00
def_01
def_10
def_11
def_20
def_21
eps_xx
eps_xy
eps_yx
eps_yy
filenames
x_mm
y_mm
z_mm
__init__(window_x, window_y, def_00, def_01, def_10, def_11, def_20, def_21, eps_xx, eps_xy, eps_yx, eps_yy, filenames, x_mm=None, y_mm=None, z_mm=None)