Skip to main content

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

Metadata

Release files for pivimage 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pivimage 0.7.4
File Size Uploaded
pivimage-0.7.4.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pivimage 0.7.4
File Interpreter ABI Platform
pivimage-0.7.4-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / pivimage-0.7.4.tar.gz

Download URL pivimage-0.7.4.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0bcb3473edcc6fe3e31bd0d6d183f8cce78d8f6812cf4487bd98fa685557d421
BLAKE2b-256 checksum
How to use checksums
120c4f291a957ee7c0a64818326a0da344dc32ed44855be0755593b05867c327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / pivimage-0.7.4-py3-none-any.whl

Download URL pivimage-0.7.4-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
038cdf5f1e671b781b196788af3f604d01553127d3c0c8546fac810b9c9105ab
BLAKE2b-256 checksum
How to use checksums
ce339942bcb8074e8afe9dde4da821e731c2f8e69b02dc982a3edfb378f8fa49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page