We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff58952 commit 30ec782Copy full SHA for 30ec782
openpiv/pyprocess.py
@@ -1022,8 +1022,8 @@ def extended_search_area_piv(
1022
search_area_size = (search_area_size, search_area_size)
1023
1024
# verify that things are logically possible:
1025
- if overlap[0] >= window_size[0] or overlap[1] >= window_size[1]:
1026
- raise ValueError("Overlap has to be smaller than the window_size")
+ if overlap[0] >= search_area_size[0] or overlap[1] >= search_area_size[1]:
+ raise ValueError("Overlap has to be smaller than the search_area_size")
1027
1028
if search_area_size[0] < window_size[0] or search_area_size[1] < window_size[1]:
1029
raise ValueError("Search size cannot be smaller than the window_size")
0 commit comments