Identify bubbles/droplets based on volume of fluid (VOF) simulation data
Project description
BlobID-Python
A python library for identifying bubbles/droplets based on volume of fluid (VOF) simulation data.
Installation
It is suggested to install the library with Numba enabled:
pip install blobid[numba]
Documentation
For the latest release: dgaylo.github.io/blobid-python
Example
Here we load a 2D slice from a simulation of air bubbles in water near the surface, and then use this library to identify and label all the air bubble.
>>> import numpy as np
>>> from blobid import get_labels
>>> vof = 1.0 - np.load("tests/resources/fs_vof.npy")[:, 0, :]
>>> labels = get_labels(vof, periodic=[True, False])
Below is a rendering of the vof field (air is white, water is black) and the labels field calculated using get_labels()
The full script, including creating these graphics using Matplotlib, is doc/example.py.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blobid-0.6.1.tar.gz.
File metadata
- Download URL: blobid-0.6.1.tar.gz
- Upload date:
- Size: 899.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd69de92041d16ee56456f00f6939438c2024d4c370b730fa22c013c4c6daeb
|
|
| MD5 |
c8eeca80550d222af88b5fdfb43c9c71
|
|
| BLAKE2b-256 |
b074b96942c1666e53bc4b5e540992d8fa1b1a3124c9a65d3a111320df646499
|
Provenance
The following attestation bundles were made for blobid-0.6.1.tar.gz:
Publisher:
upload_package.yml on dgaylo/blobid-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blobid-0.6.1.tar.gz -
Subject digest:
7bd69de92041d16ee56456f00f6939438c2024d4c370b730fa22c013c4c6daeb - Sigstore transparency entry: 630315070
- Sigstore integration time:
-
Permalink:
dgaylo/blobid-python@f036479546a52d8e9e0644a8c938ed8ecc13825d -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/dgaylo
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload_package.yml@f036479546a52d8e9e0644a8c938ed8ecc13825d -
Trigger Event:
release
-
Statement type:
File details
Details for the file blobid-0.6.1-py3-none-any.whl.
File metadata
- Download URL: blobid-0.6.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822f68bacf09735b5be99d98989b7cabc812339c4a37aaa339f5e7854b77a3ba
|
|
| MD5 |
a15a76ee73518c3beffc5655503bf26d
|
|
| BLAKE2b-256 |
a635deb0d104af1c287c00c6ed3b66913a0ea62a962607338cdad322a7ed17ea
|
Provenance
The following attestation bundles were made for blobid-0.6.1-py3-none-any.whl:
Publisher:
upload_package.yml on dgaylo/blobid-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blobid-0.6.1-py3-none-any.whl -
Subject digest:
822f68bacf09735b5be99d98989b7cabc812339c4a37aaa339f5e7854b77a3ba - Sigstore transparency entry: 630315074
- Sigstore integration time:
-
Permalink:
dgaylo/blobid-python@f036479546a52d8e9e0644a8c938ed8ecc13825d -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/dgaylo
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
upload_package.yml@f036479546a52d8e9e0644a8c938ed8ecc13825d -
Trigger Event:
release
-
Statement type: