visualization
horizontal_center(i_list:list, j_list:list, intersection_margin:int)
Calculate the horizontal center of a shape defined by i_list and j_list coordinates. The intersection margin is a margin from the top edge to prevent errors in special cases.
Parameters:
i_list
(list): List of i-coordinates (horizontal).j_list
(list): List of j-coordinates (vertical).intersection_margin
(int): Margin to avoid edge cases.
Returns:
tuple
: (horizontal_center, mean_list, j_location_list)Author:
- Yassin Riyazi (Improved horizontal center calculation)
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_visualization_horizontal_center
vertical_center(i_list:list, j_list:list, intersection_margin:int)
Calculate the vertical center of a shape defined by i_list and j_list coordinates. The intersection margin is a margin from the left side to prevent errors in special cases.
Parameters:
i_list
(list): List of i-coordinates (horizontal).j_list
(list): List of j-coordinates (vertical).intersection_margin
(int): Margin to avoid edge cases.
Returns:
tuple
: (vertical_center, i_location_list, mean_list)Author:
- Yassin Riyazi (Improved vertical center calculation)
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_visualization_vertical_center
visualize()
Visualize the contact angle measurement results and save the figure.
Author:
- Sajjad Shumaly
Labels:
src_PyThon_ContactAngle_CaMeasurer_visualization_visualize