Skip to main content

PaIRS - Particle Image Reconstruction Software

Project description

PaIRS-UniNa: Particle Image Reconstruction Software - University of Naples "Federico II"

PaIRS-UniNa is a project developed by the Experimental Thermo Fluid-Dynamics (ETFD) group of University of Naples "Federico II" since 2000. It is aimed to provide fast and efficient tools for digital particle image velocimetry (PIV) analysis in research and industrial applications.

PaIRS-UniNa is based on a C library (PaIRS-PIV) and relies on a graphical user interface (PaIRS) that is developed via PySide6 and makes the use of PaIRS-PIV easy and intuitive. PaIRS-PIV includes several modules that allow to process double-frame or time-resolved 2D planar PIV images as well as stereoscopic and tomographic PIV or Lagrangian particle tracking velocimetry (4D PTV) measurements.

The current release of PaIRS-UniNa features the module for the 2D planar PIV analysis and the stereoscopic PIV analysis and a module for optical calibration of camera systems, namely CalVi.

CalVi is the calibration module of PaIRS-UniNa and allows accurate optical calibration of single and multiple camera bundles with the camera models mostly used in the PIV community: polynomials, rational functions and the pinhole camera model. Among the other features, it supports camera calibration procedures working with unknown positions and orientations of the calibration target and the integration of the pinhole camera model with a refractive correction model for cylindrical geometries (based on ray-tracing and Snell's law).

PaIRS-UniNa is supported by Python 3.9+ and is compatible with all the operating systems, however, the PaIRS-PIV library relies on OpemMP library, which must be installed on the macOS platform. On the other side, PaIRS requires, among other packages, SciPy and matplotlib.

For further information, please visit PaIRS website.

What's new in PaIRS-UniNa 0.2.4

Bug fixes:

  • fixed critical bugs in process handling and calibration step (CalVi usage, closing PaIRS during CalVi operation, resetting steps while running);
  • resolved issues with velocity field visualization and stereo-PIV streamline representation;
  • fixed undo/redo functionality, image tree selection issues, logging errors and focus-out signal handling.

New features:

  • extended Vis features, including reference frame system plotting and vorticity field visualization;
  • introduced the ability to copy input and output information from other steps within the same process;
  • introduced functionality to interrupt processing before it starts if issues are detected.

Performance improvements:

  • optimized thread usage and resource management for PIV and stereo-PIV;
  • streamlined process workflows, including faster and more reliable parameter updates.

User-interface enhancements:

  • updated the CalVi Stop button to function as Save and improved its conditional display;
  • improved handling of project/process information and added better feedback for user actions.

Installation

All PaIRS-UniNa wheels are distributed under LGPLv3+ licences. The installation can be performed with:

python -m pip install PaIRS-UniNa

MacOS requirements

Normally the OpenMP library is not preinstalled in MacOs. A possible way to install this library is:

curl -O https://mac.r-project.org/openmp/openmp-12.0.1-darwin20-Release.tar.gz
sudo tar fvxz openmp-12.0.1-darwin20-Release.tar.gz -C /

Run

From command prompt

It is possible to run PaIRS directly from the command prompt with:

python -m PaIRS_UniNa

PaIRS automatically saves and stores its configuration upon exit and starts from the latter at the next run. If any trouble with loading the last configuration file (saved in the package folder) occurs, the user is suggested to execute a clean run of PaIRS via the following command:

python -m PaIRS_UniNa -c

A debug mode is also available for developers. It can be accessed via:

python -m PaIRS_UniNa -d

After the above command, the user will be asked to enter a password. Interested users can ask the password to the authors by sending an email to: etfd@unina.it. The debug mode can be turned on/off at any time via the keyboard sequence: Alt+Shift+D.

On macOS and Linux python must be replaced by python3.

In Python environment

In a Python environment, to run PaIRS the following commands can be used :

>>> from PaIRS_UniNa import PaIRS
>>> PaIRS.run()

For clean mode:

>>> PaIRS.cleanRun()

while for debug mode:

>>> PaIRS.debugRun()

User guide

For more details about PaIRS usage, see our user guide.

Authors and contact details

Gerardo Paolillo - Research Associate, Department of Industrial Engineering, University of Naples "Federico II", via Claudio, 21, 80125, Napoli, Italy

Tommaso Astarita - Full professor, Department of Industrial Engineering, University of Naples "Federico II", Piazzale Tecchio, 80, 80125, Napoli, Italy

email: etfd@unina.it

Related works

Please cite the following works if you intend to use PaIRS-UniNa for your purposes:

[1] Astarita, T., & Cardone, G. (2005). "Analysis of interpolation schemes for image deformation methods in PIV". Experiments in Fluids, 38(2), 233-243. doi: 10.1007/s00348-004-0902-3

[2] Astarita, T. (2006). "Analysis of interpolation schemes for image deformation methods in PIV: effect of noise on the accuracy and spatial resolution". Experiments in Fluids, vol. 40 (6): 977-987. doi: 10.1007/s00348-006-0139-4

[3] Astarita, T. (2007). "Analysis of weighting windows for image deformation methods in PIV." Experiments in Fluids, 43(6), 859-872. doi: 10.1007/s00348-007-0314-2

[4] Astarita, T. (2008). "Analysis of velocity interpolation schemes for image deformation methods in PIV". Experiments in Fluids, 45(2), 257-266. doi: 10.1007/s00348-008-0475-7

[5] Astarita, T. (2009). "Adaptive space resolution for PIV". Experiments in Fluids, 46(6), 1115-1123. doi: 10.1007/s00348-009-0618-5

[6] Giordano, R., & Astarita, T. (2009). "Spatial resolution of the Stereo PIV technique". Experiments in Fluids, 46(4), 643-658. doi: 10.1007/s00348-008-0589-y

Please cite the following works if you intend to use CalVi for your purposes:

[1] Paolillo, G., & Astarita, T. (2020). "Perspective camera model with refraction correction for optical velocimetry measurements in complex geometries". IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(6), 3185-3196. doi: 10.1109/TPAMI.2020.3046467.

[2] Paolillo, G., & Astarita, T. (2021). "On the PIV/PTV uncertainty related to calibration of camera systems with refractive surfaces". Measurement Science and Technology, 32(9), 094006. doi: 10.1088/1361-6501/abf3fc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

PaIRS_UniNa-0.2.4-cp312-cp312-win_amd64.whl (9.6 MB view details)

Uploaded CPython 3.12Windows x86-64

PaIRS_UniNa-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

PaIRS_UniNa-0.2.4-cp312-cp312-macosx_10_9_universal2.whl (11.5 MB view details)

Uploaded CPython 3.12macOS 10.9+ universal2 (ARM64, x86-64)

PaIRS_UniNa-0.2.4-cp311-cp311-win_amd64.whl (9.6 MB view details)

Uploaded CPython 3.11Windows x86-64

PaIRS_UniNa-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

PaIRS_UniNa-0.2.4-cp311-cp311-macosx_10_9_universal2.whl (11.5 MB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

PaIRS_UniNa-0.2.4-cp310-cp310-win_amd64.whl (9.6 MB view details)

Uploaded CPython 3.10Windows x86-64

PaIRS_UniNa-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

PaIRS_UniNa-0.2.4-cp310-cp310-macosx_10_9_universal2.whl (11.5 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

PaIRS_UniNa-0.2.4-cp39-cp39-win_amd64.whl (9.6 MB view details)

Uploaded CPython 3.9Windows x86-64

PaIRS_UniNa-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

PaIRS_UniNa-0.2.4-cp39-cp39-macosx_10_9_universal2.whl (11.5 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file PaIRS_UniNa-0.2.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4288dd3a1397e71be7293eeca5d5194c060d926c0ada9ccf5d56b2b14ecc4654
MD5 e7f981bd0a917366c44ff3c6e1d2fdc9
BLAKE2b-256 e868d3f029d404070f34b13ef5b6f36161bfbc1e6d1f88b37ac562946bc20c11

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12ee0c1baaeb353a57a104d859b8d9b8d2b8f92a62814a1323b2f07d818b51ee
MD5 0492c0ecf96c850683df61bb6d39e096
BLAKE2b-256 c388a9138e69f8abba71c3d765647aaaa6679dfe42ee81d87feb3ed052112a79

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f9a2ec445732a7659cfe6a5c0e2257aaddc5ac0b790c6692ea2c458e06fbf7a8
MD5 e1954dcc1bd0ecccbab6cda5136e6541
BLAKE2b-256 782a4638b86489e7636889c6f9c5c87d01c2411edd23b6e7235f2d11bc293e37

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7b6d13fcb2ad020767aab42d691d497a29d7f0427ed6b375dd3b4abf12a223ec
MD5 fcf4fc7a2283f791011a75f01c9450d1
BLAKE2b-256 695519077bd3b537d0bcdddc1f53b5c2c216c350c68368c307dca219350e08b7

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 586457d3e64a8c000822e3dd0079c9eb68543ee8e3f335e9c1152816a228de4a
MD5 ee38287c16f86d6c0fb2e6e378a04bb0
BLAKE2b-256 10bbf0c54a3675461c02c9756e5c18678c4ff8c554a69d113e9d5d455ee38fe0

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0fd22c04b381961c89ef1e734c8ed1f1f1d1bb2f415e243d0ee9fc7a585165c7
MD5 69b6b0ebd8f9ac1bdd11a0a839dc51d1
BLAKE2b-256 1167fe2287169dbae921baa8cd567e5755b45d249a241d4a65aef5fe135fb921

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a148bbefb16f28b91e2636f1907dbf2c9294aee22aae7f7f3d69312d435b7f3c
MD5 4764c940513399663260a1504c56949b
BLAKE2b-256 335fb552dfb6763133cf893b4b784674e394890f2132a185395939018f74d2f3

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b7c6418ebeb068f5f3af637abde01a0433f4e033979e7223ec9ae43e72530505
MD5 92679d1ca12804e37ad7d7890a26a977
BLAKE2b-256 e040e1f2f6da5bc6282c714325c2572c0c0cd50bbb106e791d87b23c4843ae1e

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f3d403776092639363ceaaf139000725475cc696fa324d0b0a49bf92aaf7bf2e
MD5 f55b014d0b81390bf6c80795e6f52111
BLAKE2b-256 f029b6aafc56ee7aac9a9bb9cdc61f90dd0896cf0371e7671c9bd8845b02be6a

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: PaIRS_UniNa-0.2.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 195d441fcdfef674c3f5c88556aa86b58bd0afa577969f4d9a52d99a83bca9ec
MD5 7a759f6fdee22816dbad2b5736c28bc8
BLAKE2b-256 19ecd3bbb1fea9b863de7c0813950730645835565058856e856a17b8e5b86943

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 10e66ced4642d2178ab55d672bfb7cf5f8107b953361961e8261109629717c9f
MD5 153388a29a66d01c8473daf2b51ee5b3
BLAKE2b-256 e12fad4d8ec1f835a64bd08d7148757bc6d2ffe83151db69273b621ae7632860

See more details on using hashes here.

File details

Details for the file PaIRS_UniNa-0.2.4-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for PaIRS_UniNa-0.2.4-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a18df7472fd87dc4ea1fbabaac441af5598fa66a21ae87310518b70287217b81
MD5 6c6e852ffd9f14e7a3e52da9a70e019e
BLAKE2b-256 c79e35858b2769ca127b2458c74417296f0febcc3cf6d73d1212d3bc50b0db64

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