Skip to contents

A function to receive the coordinates in x and y with the size of window for cross correlation in PIV method and produce the coordinates of the displacement vectors or velocities.

Usage

PIV_obtain_grid(x_coordinates, y_coordinates, window_size = 16, verbose = TRUE)

Arguments

x_coordinates

A vector of coordinates in x or lon direction

y_coordinates

A vector of coordinates in y or lat direction

window_size

The size of the sub window or interrogation window size. Default is 16

verbose

Logical, indicating whether to display detailed output messages. If set to TRUE, the function will print informative messages and updates during its execution, providing additional details about the process. If set to FALSE (default), the function will run quietly without displaying extra information.

Value

data.frame

Author

Ahmed Homoudi