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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e68a2ab9d216af43ee1bb25034ecd9722a49e0488d1039c1571a76e2de879fe6
MD5 2bc23723a3bfc4c14f5773f7d05af9ae
BLAKE2b-256 f64df070f8183e3f5f015e8e051b8984fcd769382a1e81db4ef80d23e375a53c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 218328878442ff20c145e06c3cbfa14cda39ea20a1e6e1ce393513a5d94f6620
MD5 f5e005f57a63f424267cc226fabc5941
BLAKE2b-256 6abfac157a866055851c51e6d4edb88ff7e979255cda2bce7072da76a3f9a1b7

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