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.1.tar.gz (158.4 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.1-py3-none-any.whl (153.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.1.tar.gz
  • Upload date:
  • Size: 158.4 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.1.tar.gz
Algorithm Hash digest
SHA256 87c97e74e4eea03c47cec152649107b277382264eddbc464f5d584c87e2b17f1
MD5 2bbcf7d5630cc960b66ed5b3431a16b0
BLAKE2b-256 496bcd88a9201950786ed180d12074c1a4ca31978495214c20d590aaff6787cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 153.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96bf7ade01a6f74062065b2c24cba399dc9fdfb899443757d1ed65e655c66c78
MD5 bebb96bc1e8a91f98b9e1c9c5b8df905
BLAKE2b-256 b1829bafc01f47abda0bba9ca90765e572d22f2d5d2d449d73099ea712e7e32f

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