A package for fluid mechanic experimentalists
Project description
SplashLab
Python packages intended to assist with experimental research in the field of fluid dynamics. The tools are divided into two categories: computer vision and dimensional analysis. The entire package can be installed with:
pip install splashlab
There are two main modules: computer vision and dimensional analysis. As their names suggest computer vision contacts classes and functions to assist with computer vision tasks; it is mostly built on top of OpenCV. Dimensional analysis has function and classes intended to assist with tasks such as keeping track of units during calculations and finding nondimensional groups.
Computer Vision
Reading and Displaying Images
The computer vision module contains several functions and classes that assist mainly with processing image and video
data. The first example shows how to use read_image_folder
to convert all images in a directory to a single numpy
array and display the images with animate_images
:
import splashlab.computer_vision as vision
images = vision.read_image_folder(folder_path, file_extension='.tif', start=0, end=None, step=1, read_color=False)
vision.animate_images(images, wait_time=10, wait_key=False, BGR=True, close=True)
Dimensional Analysis
Dimensional analysis, as the name suggests, helps with dimensional analysis, like applying Buckingham Pi Theorem.
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
File details
Details for the file splashlab-0.1.3.tar.gz
.
File metadata
- Download URL: splashlab-0.1.3.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 441538e420ed4c80a1f9e9ee40f0ac705930a9e15029f1b360f1481c9262a947 |
|
MD5 | a3f5b83bf7e8001d948609bac3503fae |
|
BLAKE2b-256 | cf3f69a9132f28f6f7212373e9be272d31c464b9d645d4a9459225150b148baa |
File details
Details for the file splashlab-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: splashlab-0.1.3-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698f5e1a3a8cd29ac7e398245920bc1aa9a6ecffba2c9a1fe81bdfe76d5f5c0d |
|
MD5 | 24329098f67ac0360f28a4ac72a21e0c |
|
BLAKE2b-256 | 7b327a2a505b556b9a50e1957dea6826085f4fa1724c82fc57d137eee6026684 |