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.3.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.3-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3d7795a8c13500cf862317ce2c8802828a6c27eca8d88cc6626e20107552b95c
MD5 03f4f2d46f3d1b58ba95392b362bef13
BLAKE2b-256 447ee0708f831fe2b49378bd2eea29fa1634de0115b9daf1b4725feabe04bf68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d17f4e8ed9f58b1b5385de9ca43960d4ae0cb730fcf8a6aaf3fb846e4de842ed
MD5 52035ed3c1d9914f4ce75f65fe3bda9c
BLAKE2b-256 9d5b88f81c27ada51a691459aac2621db684c781a29d259b1a969302ae5ad560

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