Skip to main content

Small library reading images and providing PIV-specific utilities.

Project description

Pivimage

Tests codecov

pivimage is a lightweight Python library for Particle Image Velocimetry (PIV) image handling during pre-processing. It focuses on practical operations you usually need before correlation or analysis.

What It Provides

  • image loading for common formats (including .b16)
  • helpers for single-frame and double-frame PIV recordings
  • common image transforms (normalize, rot90, rot180, flip*, masking)
  • quick plotting utilities for images and histograms

Installation

pip install pivimage

Quick Start

import pivimage

img = pivimage.PIVImage("frame_0001.tif")
img_norm = img.normalize()
img_rot = img_norm.rot90()

pair = pivimage.PIVImagePair("frame_a.tif", "frame_b.tif")
pair.plot()

Example Notebook

Open In Colab

Development and Tests

pip install -r requirements-dev.txt
pytest
pytest --cov --cov-report=html

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

pivimage-0.7.4.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pivimage-0.7.4-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pivimage-0.7.4.tar.gz.

File metadata

  • Download URL: pivimage-0.7.4.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pivimage-0.7.4.tar.gz
Algorithm Hash digest
SHA256 0bcb3473edcc6fe3e31bd0d6d183f8cce78d8f6812cf4487bd98fa685557d421
MD5 246221719e13beaba191a909bbfed3dc
BLAKE2b-256 120c4f291a957ee7c0a64818326a0da344dc32ed44855be0755593b05867c327

See more details on using hashes here.

File details

Details for the file pivimage-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: pivimage-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pivimage-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 038cdf5f1e671b781b196788af3f604d01553127d3c0c8546fac810b9c9105ab
MD5 ed124870f1daeb9e648fb950863ba1ec
BLAKE2b-256 ce339942bcb8074e8afe9dde4da821e731c2f8e69b02dc982a3edfb378f8fa49

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