recolo.deflectomerty.grid_method.disp_fields_from_phases

recolo.deflectomerty.grid_method.disp_fields_from_phases(phase_x, phase_x_0, phase_y, phase_y_0, grid_pitch, correct_phase=True, maxit=10, tol=1e-05, unwrap=True)

Determine the displacements of every pixel based on the phase modulation along two axes in two configurations, see [1] for more details.

phase_xndarray

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

phase_x_0ndarray

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

phase_yndarray

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

phase_y_0ndarray

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

grid_pitchfloat

The grid pitch in pixels

correct_phasebool

Correct the phases for finite displacements

maxitint

The maximum number of iterations for the phase correction

tolfloat

The maximum allowable residual for the phase correction

unwrapbool

Perform phase unwrapping using [2].

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

[2] Miguel Arevallilo Herraez, David R. Burton, Michael J. Lalor, and Munther

A. Gdeisat, “Fast two-dimensional phase-unwrapping algorithm based on sorting by reliability following a noncontinuous path”, Journal Applied Optics, Vol. 41, No. 35 (2002) 7437,