Skip to content

Commit e47c14d

Browse files
author
mvgorcum
committed
preparing for alpha release of QT gui
1 parent a471dfe commit e47c14d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
File renamed without changes.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ We use a subpixel edge detection, either fast, with a linear interpolation betwe
99
To find the contact line position and the contact angle the detected edge is fitted with a 3rd order polynomial fit, and the slope of the baseline is also used to calculate the contact angles.
1010
Note that the drop volume assume cylindrical symmetry and if there is a needle present, the volume of the needle is added.
1111

12-
A GUI using tkinter is available, as well as a standalone script. The standalone script is probably beneficial when using an IDE like spyder.
12+
A GUI using pyqtgraph and pyqt5 is available, as well as a standalone script. The standalone script is probably beneficial when using an IDE like spyder.
1313

1414
## Prerequisites
15-
The script requires numpy, scipy, matplotlib, imageio, skimage, shapely, and tkinter.
15+
The script requires numpy, scipy, shapely, pyqtgraph, and pyqt5.
1616

1717
## Running the script
18-
To use the GUI, run GUI_sessile_drop_analysis.py, while the standalone script is sessile_drop_analysis.py.
18+
To use the GUI, run QT_sessile_drop_analysis.py, while the standalone script is in Old scripts/sessile_drop_analysis.py.
1919

2020
## Some details
21-
* The code is written for Python 3.5
21+
* The code is written for Python 3.8
2222
* The edge detection uses only a horizontal subpixel correction, and when fitting the errorfunction, 40 pixels left and right of the edge are used.
2323
* To find the contact angle and contact point a polyfit is used, but the fit is made flipping the x and y coordinates, because polyfits don't perform well for vertical lines (ie at contact angles of 90 degrees).
2424
* In the non-gui script, the variable k is used to set the amount of pixels used in the polyfit, by default set at 70.

0 commit comments

Comments
 (0)