Python scripts (GUI and command line) to measure surface tension from images of pendent drops.
Project description
PyPendentDrop
Python library (with graphical and command line interfaces) to measure surface tension 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.2.tar.gz
.
File metadata
- Download URL: pypendentdrop-0.0.2.tar.gz
- Upload date:
- Size: 155.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea446d974132f02c730c58506d8bce3e0e4a24e2a4649a5c6c44dd3ef48c4bfe |
|
MD5 | b2f1435da73be45d730371c4d05f3d10 |
|
BLAKE2b-256 | 59e4bf10fcde307576fe01516cd4f087a5e6d239700c266e0e3b75f2d2e0c494 |
File details
Details for the file pypendentdrop-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pypendentdrop-0.0.2-py3-none-any.whl
- Upload date:
- Size: 152.1 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 | a9974b975cf60119a92968cedcd3a7ea1c97138bebb69e07da3a1615ee8c9be2 |
|
MD5 | 66f459ddc087ddcef040b8e768c943c6 |
|
BLAKE2b-256 | 9e59b21ea00b0fc5148be6ae5d0720b98360d516a1e51d23b72e79e0a71ce9f5 |