Skip to content

ali-sh-96/openpiv-python-cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenPIV-Python-CPU

Algorithms for PIV image processing with a CPU.

DOI

openpiv-python-cpu is a version of openpiv-python optimized for use with a central processing unit (CPU). OpenPIV-Python consists of Python modules for performing particle image velocimetry (PIV) analysis on a set of image pairs. This implementation adds more flexibility for adjusting the PIV parameters. The cross-correlation is performed using the fastest Fourier transform in the west (pyFFTW), while the frame deformation is accelerated by Numba. Both validation and replacement procedures have been improved, and replacement through spring analogy has been added. Overall, this project aimed at improving the performance and accuracy for CPU-based PIV analysis.

Related projects

An alternative implementation of the same algorithms for use with a graphics processing unit (GPU) is available as openpiv-python-gpu.

Warning

OpenPIV-Python is currently under active development, which means it might contain some bugs, and its API is subject to change. This module has been tested on both Windows (work station and laptops) and Linux (Niagara supercomputing cluster and Google Colab) platforms.

Installation

Use the following command to install from GitHub:

pip install git+https://github.com/ali-sh-96/openpiv-python-cpu

Documentation

The OpenPIV documentation is readily accessible on the project's webpage at https://openpiv.readthedocs.org. For information on how to use the modules, see the tutorial notebooks below.

Tutorials

Contributors

  1. OpenPIV team
  2. Alex Liberzon
  3. Ali Shirinzad
  4. Pierre E. Sullivan

Copyright statement: cpu_smoothn.py is a Python version of smoothn.m originally created by D. Garcia, written by Prof. Lewis, and available on GitHub. We are thankful to the original authors for releasing their work as an open source. OpenPIV license does not relate to this code. Please communicate with the authors regarding their license.

How to cite this work

Shirinzad, A., Jaber, K., Xu, K., & Sullivan, P. E. (2023). An Enhanced Python-Based Open-Source Particle Image Velocimetry Software for Use with Central Processing Units. Fluids, 8(11), 285. https://doi.org/10.3390/fluids8110285

About

Algorithms for PIV image processing with a CPU.

Resources

License

Stars

Watchers

Forks

Packages

No packages published