Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypendentdrop-0.1.4.tar.gz (158.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypendentdrop-0.1.4-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file pypendentdrop-0.1.4.tar.gz.

File metadata

  • Download URL: pypendentdrop-0.1.4.tar.gz
  • Upload date:
  • Size: 158.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for pypendentdrop-0.1.4.tar.gz
Algorithm Hash digest
SHA256 823bf6edce7f2cbe6d506a7c501f097d737d1bff4d800b93bde98a610c86ba8d
MD5 8bca73768359c3d0c1eace92e63dfcb8
BLAKE2b-256 6e9cb10862ea297e1428c2d2297d5ba97f5eee92eea5594fd4117b6e29d15349

See more details on using hashes here.

File details

Details for the file pypendentdrop-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pypendentdrop-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for pypendentdrop-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dda40cfc0e5a37d8540ab35e99d28b30ada5271038400339c591f1dc276b1adb
MD5 be91c472e1356bafc559e054d3590e92
BLAKE2b-256 7da58535e647a4e579c87ced7ae5e9e093776db28699c05cb6d2b070c9ce5dd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page