pivLib

Convenience tools for PIV analysis. Core PIV functions are imported from the OpenPIV project. The tools here are designed to (i) streamline the PIV analysis process, (ii) provide additional convenience for PIV data processing (e.g. apply_mask()) and file handling (e.g. compact_PIV).

PIV(I0, I1, winsize[, overlap])

Standard PIV, consisting of replacing outliers, validate signal to noise ratio, and a smoothing with median filter of kernal shape (3, 3).

apply_mask(pivData, mask)

Apply a mask on PIV data, by adding a boolean column "mask" to the original x, y, u, v data file.

read_piv(pivDir)

Read piv data from pivDir as X, Y, U, V.

to_matrix(pivData)

Convert PIV data from DataFrame of (x, y, u, v) to four 2D matrices x, y, u, v.

compact_PIV(data)

Compact PIV data structure.