Open-source Python API with a graphical and command-line interface to measure surface tension coefficients from images of pendent drops.
Project description
PyPendentDrop
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
Installation
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.
Using PyPendentDrop
Graphical interface
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.
Command-line
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 a python script
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
Contact me at pypendentdrop@protonmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pypendentdrop-0.0.3.tar.gz
.
File metadata
- Download URL: pypendentdrop-0.0.3.tar.gz
- Upload date:
- Size: 157.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60fd90ff5a366d13d9e2e0b55c683c640d5beba2a76cc525c58c2a1c2ef44e08 |
|
MD5 | bda16486eef9f6b7144d64f790ef7403 |
|
BLAKE2b-256 | 294a44933d02db1c8442200271c4cc4decb20ffa641d5bd0ac67a248fcf1caf5 |
File details
Details for the file pypendentdrop-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pypendentdrop-0.0.3-py3-none-any.whl
- Upload date:
- Size: 152.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b903378dc9282cd30c6fa0b34945674c4f4a6e50e4cafb2902d7553db7b0a2c6 |
|
MD5 | 3c16edfd17a201580eca562b52b5a81f |
|
BLAKE2b-256 | fe50cd8952ae3de660ce9edd4b8a988f9692df08c71b5170d365709abeb19b32 |