openpiv_cxx.validate.sig2noise_val

openpiv_cxx.validate.sig2noise_val(s2n, threshold=1.05)

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

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

Parameters:
  • s2n (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:

mask – An integer array where elemtents that = 0 are valid and 1 = invalid.

Return type:

ndarray

References

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