strainresults.py

class StrainResults(window_x, window_y, def_xx, def_xy, def_yx, def_yy, eps_xx, eps_xy, eps_yx, eps_yy, filenames)[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)

  • def_xx (np.ndarray) – The xx component of the 2D deformation gradient. shape=(img_num,y,x)

  • def_xy (np.ndarray) – The xy component of the 2D deformation gradient. shape=(img_num,y,x)

  • def_yx (np.ndarray) – The yx component of the 2D deformation gradient. shape=(img_num,y,x)

  • def_yy (np.ndarray) – The yy component of the 2D deformation gradient. shape=(img_num,y,x)

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

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

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

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

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

window_x
window_y
def_xx
def_xy
def_yx
def_yy
eps_xx
eps_xy
eps_yx
eps_yy
filenames
__init__(window_x, window_y, def_xx, def_xy, def_yx, def_yy, eps_xx, eps_xy, eps_yx, eps_yy, filenames)