criteria_definition
left_angle(i_poly_left:np.ndarray, j_poly_left:np.ndarray, tan_pixel_number:int)
Calculate the advancing angle and pixel position from polynomial fitted data.
Parameters:
i_poly_left
(np.ndarray): x-coordinates of the left polynomial fitted data.j_poly_left
(np.ndarray): y-coordinates of the left polynomial fitted data.tan_pixel_number
(int): Index of the pixel used for tangent calculation (default: 1).
Returns:
tuple[np.ndarray, np.ndarray]
: A tuple containing the advancing angle and the pixel position.Author:
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_criteria_definition_left_angle
right_angle(i_poly_right:np.ndarray, j_poly_right:np.ndarray, tan_pixel_number:int)
Calculate the receding angle and pixel position from polynomial fitted data.
Parameters:
i_poly_right
(np.ndarray): x-coordinates of the right polynomial fitted data.j_poly_right
(np.ndarray): y-coordinates of the right polynomial fitted data.tan_pixel_number
(int): Index of the pixel used for tangent calculation (default: 1).
Returns:
tuple[np.ndarray, np.ndarray]
: A tuple containing the receding angle and the pixel positionAuthor:
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_criteria_definition_right_angle
middle_angle(i_poly_right:np.ndarray, j_poly_right:np.ndarray)
Calculate the middle angle and pixel position from polynomial fitted data.
Parameters:
i_poly_right
(np.ndarray): x-coordinates of the right polynomial fitted data.j_poly_right
(np.ndarray): y-coordinates of the right polynomial fitted data.
Returns:
tuple[np.ndarray, np.ndarray]
: A tuple containing the middle angle and the pixel position.Author:
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_criteria_definition_middle_angle