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 Provenance Actions
pivimage-0.7.4.tar.gz 14.3 kB Without provenance Details for pivimage-0.7.4.tar.gz

Built distribution (wheel)

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

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

Security for pivimage 0.7.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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