recolo.deflectomerty.grid_method.disp_from_grids

recolo.deflectomerty.grid_method.disp_from_grids(grid_undeformed, grid_deformed, grid_pitch, correct_phase=True, window='gaussian')

Determine the displacements of every pixel based the image of an undeformed grid and a deformed grid. This is done by determining the displacement from the phase modulation along two axes in two configurations, see [1] for more details.

grid_undeformedndarray

The phase modulation field along the x-axis in the deformed configuration as complex numbers

grid_deformedndarray

The phase modulation field along the x-axis in the undeformed configuration as complex numbers

grid_pitchfloat

The grid pitch in pixels

correct_phasebool

Correct the phases for finite displacements

disp_x,disp_yndarray

The displacement field

1

Michel Grediac, Frédéric Sur, Benoît Blaysat. The grid method for in-plane displacement and

strain measurement: a review and analysis. Strain, Wiley-Blackwell, 2016, 52 (3), pp.205-243. ff10.1111/str.12182ff. ffhal-01317145f