Open-source Python API with a graphical and command-line interface to measure surface tension coefficients from images of pendent drops.
- Package on PyPI
- Documentation on ReadTheDocs
- Source code on GitHub
Simply use
pip install pypendentdrop[full]
or, if you only want to use the command-line version (resp. the graphical version), you can replace [full]
by [cli]
(resp. [gui]
). Use no option to download a minimal working version of the library.
To launch the gui version, use the command
ppt-gui
Use the relevant fields to provide an image, the pixel density of your image and the relevant physical parameters (density contrast, acceleration of gravity). Buttons allow you to estimate the parameters coarsely and to optimize this estimation. You can manually change and/or fix the values of the parameters.
To use the command-line version, use
ppt-cli
Use the -h
(help) option to list the availables options and the -v
(verbose) option to display more information as the program goes.
In the import section of your script, write
import pypendentdrop as ppd
and you can then use the functions defined in the library. An example script examplescript.py
is provided on the GitHub repository.
Contact me at pypendentdrop@protonmail.com