openpiv.pyprocess.find_first_peak

openpiv.pyprocess.find_first_peak(corr)[source]

Find row and column indices of the first correlation peak.

Parameters:corr (np.ndarray) – the correlation map fof the strided images (N,K,M) where N is the number of windows, KxM is the interrogation window size
Returns:
  • (i,j) (integers, index of the peak position)
  • peak (amplitude of the peak)