# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/FluidsLab/SplashLab",
"name": "splashlab",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Fluid Dynamics, Experiment",
"author": "Spencer Truman",
"author_email": "trumans24@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cf/3f/69a9132f28f6f7212373e9be272d31c464b9d645d4a9459225150b148baa/splashlab-0.1.3.tar.gz",
"platform": null,
"description": "# SplashLab\r\nPython packages intended to assist with experimental research in the field of fluid dynamics. The tools are divided into\r\ntwo categories: computer vision and dimensional analysis. The entire package can be installed with:\r\n```\r\npip install splashlab\r\n```\r\nThere are two main modules: computer vision and dimensional analysis. As their names suggest computer vision contacts \r\nclasses and functions to assist with computer vision tasks; it is mostly built on top of OpenCV. Dimensional analysis \r\nhas function and classes intended to assist with tasks such as keeping track of units during calculations and finding \r\nnondimensional groups.\r\n\r\n## Computer Vision\r\n### Reading and Displaying Images\r\nThe computer vision module contains several functions and classes that assist mainly with processing image and video \r\ndata. The first example shows how to use `read_image_folder` to convert all images in a directory to a single numpy \r\narray and display the images with `animate_images`:\r\n```\r\nimport splashlab.computer_vision as vision\r\n\r\nimages = vision.read_image_folder(folder_path, file_extension='.tif', start=0, end=None, step=1, read_color=False)\r\nvision.animate_images(images, wait_time=10, wait_key=False, BGR=True, close=True)\r\n```\r\n\r\n## Dimensional Analysis\r\nDimensional analysis, as the name suggests, helps with dimensional analysis, like applying Buckingham Pi Theorem.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A package for fluid mechanic experimentalists",
"version": "0.1.3",
"project_urls": {
"Download": "https://github.com/FluidsLab/SplashLab/archive/refs/tags/v0.0.8.tar.gz",
"Homepage": "https://github.com/FluidsLab/SplashLab"
},
"split_keywords": [
"fluid dynamics",
" experiment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b327a2a505b556b9a50e1957dea6826085f4fa1724c82fc57d137eee6026684",
"md5": "24329098f67ac0360f28a4ac72a21e0c",
"sha256": "698f5e1a3a8cd29ac7e398245920bc1aa9a6ecffba2c9a1fe81bdfe76d5f5c0d"
},
"downloads": -1,
"filename": "splashlab-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "24329098f67ac0360f28a4ac72a21e0c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 21982,
"upload_time": "2024-09-03T09:23:20",
"upload_time_iso_8601": "2024-09-03T09:23:20.892050Z",
"url": "https://files.pythonhosted.org/packages/7b/32/7a2a505b556b9a50e1957dea6826085f4fa1724c82fc57d137eee6026684/splashlab-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cf3f69a9132f28f6f7212373e9be272d31c464b9d645d4a9459225150b148baa",
"md5": "a3f5b83bf7e8001d948609bac3503fae",
"sha256": "441538e420ed4c80a1f9e9ee40f0ac705930a9e15029f1b360f1481c9262a947"
},
"downloads": -1,
"filename": "splashlab-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "a3f5b83bf7e8001d948609bac3503fae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19299,
"upload_time": "2024-09-03T09:23:24",
"upload_time_iso_8601": "2024-09-03T09:23:24.194637Z",
"url": "https://files.pythonhosted.org/packages/cf/3f/69a9132f28f6f7212373e9be272d31c464b9d645d4a9459225150b148baa/splashlab-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-03 09:23:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "FluidsLab",
"github_project": "SplashLab",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "numpy",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "sympy",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "opencv-python",
"specs": []
}
],
"lcname": "splashlab"
}