openpiv.validation.sig2noise_val

openpiv.validation.sig2noise_val(u, v, sig2noise, threshold=1.3)

Eliminate spurious vectors from cross-correlation signal to noise ratio.

Replace spurious vectors with np.nan if signal to noise ratio is below a specified threshold.

Parameters :

u : 2d np.ndarray

a two dimensional array containing the u velocity component.

v : 2d np.ndarray

a two dimensional array containing the v velocity component.

sig2noise : 2d np.ndarray

a two dimensional array containing the value of the signal to noise ratio from cross-correlation function.

threshold: float :

the signal to noise ratio threshold value.

Returns :

u : 2d np.ndarray

a two dimensional array containing the u velocity component, where spurious vectors have been replaced by np.nan

v : 2d np.ndarray

a two dimensional array containing the v velocity component, where spurious vectors have been replaced by np.nan

References

    1. Keane and R. J. Adrian, Measurement Science & Technology,1990, 1, 1202-1215.

Previous topic

openpiv.validation.global_val

Next topic

openpiv.scaling.uniform

This Page