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.0.tar.gz (158.0 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.0-py3-none-any.whl (153.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.0.tar.gz
  • Upload date:
  • Size: 158.0 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.0.tar.gz
Algorithm Hash digest
SHA256 4674e42a6e140de066f5d0375bf5de9194b42e3154af189f46ca5d19ae7cd643
MD5 8ca669b898d9f1113be775a6da351e18
BLAKE2b-256 a773f64702b0971a6e725222517ac0f250a584f4f75813efa0f6f2a3675524ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypendentdrop-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 153.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09fc6aa9ca86cd673bb03215e5abd3335cc4b973e7369d99c4e0c2ba2b19395b
MD5 0b30003028d3d007e3290c01948fe889
BLAKE2b-256 52422c5cfe5ddb2a969e9f013f3f2baa5128d02d70539f4ce96794c2d2b72e25

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