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.10+ 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 the PaIRS website.

What's new in PaIRS-UniNa 0.2.11

Bug fixes:

  • Fixed an issue preventing correct restoration of reshape/resize settings in the Output tab at startup.

User-interface enhancements:

  • Minor UI restyling improving visual feedback during user interactions.
  • Introduced detachable Vis plot area for more comfortable and effective result visualization in a separate floating window.
  • Added a dedicated Window menu to quickly apply convenient interface layouts and manage detached windows.

Distribution:

  • ready-to-use executables of PaIRS are now available!

Portable executable

Download the standalone PaIRS_UniNa executable from the PaIRS website.

Installation in Python

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 (Python package)

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.

From command prompt (executable version)

The same options are also available when using the portable/executable version of PaIRS. From the command prompt you can simply run:

PaIRS -c      (Windows)
./PaIRS -c    (MacOS/Linux)

to perform a clean run, or:

PaIRS -d      (Windows)
./PaIRS -d    (MacOS/Linux)

to start in debug mode (password required).

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.11-cp313-cp313-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.13Windows x86-64

pairs_unina-0.2.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.11-cp313-cp313-macosx_11_0_universal2.whl (13.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ universal2 (ARM64, x86-64)

pairs_unina-0.2.11-cp312-cp312-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.12Windows x86-64

pairs_unina-0.2.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.11-cp312-cp312-macosx_11_0_universal2.whl (13.8 MB view details)

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

pairs_unina-0.2.11-cp311-cp311-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.11Windows x86-64

pairs_unina-0.2.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.11-cp311-cp311-macosx_11_0_universal2.whl (13.8 MB view details)

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

pairs_unina-0.2.11-cp310-cp310-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.10Windows x86-64

pairs_unina-0.2.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.11-cp310-cp310-macosx_11_0_universal2.whl (13.8 MB view details)

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

File details

Details for the file pairs_unina-0.2.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f4d1fb4c8ceedbfebc56f1d42f4bad0aea598573d37bb0dd0bd2fa3936422139
MD5 fdcd1c509e522a9dbb6112cdff34d286
BLAKE2b-256 643e0fe3f3057e9563bf5111aef424282b9ff3c6ce485c33600e5c8e6f50e0c0

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20c68b6365fe4d0dec8a587aabaade897f18de15ffd3622647efec9b775964b0
MD5 1d37ae24d76891bfe5c56a653ba0959b
BLAKE2b-256 24143b5e7f360d467403661fea8e34feb3c43e317254b1d2c1032261c108e8d0

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp313-cp313-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 f2f92a36fe7d0b8ca2bdca3b14393ae423d620ce9022fdffe1bb3d026f219a7d
MD5 f491659032c5b814b4c134e3c0219cc0
BLAKE2b-256 c6696eb061bb6887bc2ae5ea8594d68f254012096e575d1b71c90588163da2da

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a843877186ab7264b88ba326d4f450ebb5d51a20fcd076ee0b9c4bee475621fb
MD5 500aa5319094b2a94f7d72711bb0aad7
BLAKE2b-256 22b33738d9c8511cb1505d1e768effb893065641ad0bc9b391ef12663186fc05

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fe7da18e4d498db3c5eb4d59ae320d8acfca4a7058ff65a87910e3edb382f78
MD5 cf29d96ea527bda01ddaa77414b9d9d9
BLAKE2b-256 a491417e4daf5d01bbb11c968d243d0fcccc7d11839b9f605930c5f9550df24a

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp312-cp312-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 27aa0edc9472cc34f3689c7b29b361a955067a40d3fa512e6f4def9075abf9f4
MD5 7916083d5830a48872d72cba2d8f9325
BLAKE2b-256 3ceb44f033825810fabb34fb9ee6e4380e8bc347400849981bf7ccf33c220c47

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c64e65896a7f76e067c86c382e3e5797daf238d38a3f3cb381a346e7e506e12
MD5 362159fe2cb7f7bf625d31b4616dd1f4
BLAKE2b-256 4f5c994f9d4db96d7d9146c2ae6b3316a211eff989c71ee8616b56bca45232b5

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9947ccde0e2e901ca329496c9f1354e3f5f2b616a7e137b0d7b65bef9d5b396
MD5 f07402e8363688a1b69c78cf0fb808d8
BLAKE2b-256 7aac32d16939681e1b894160e16fd94de358643fb858f6f5098a959b11cc3273

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp311-cp311-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 49d94f303007c0c2c8ff9afb74f086c912c68903895b49f1623be69d7de589f1
MD5 319ccd226f777e939d796ac3457c53e6
BLAKE2b-256 e35b3f57969dd301248ff00f9775e05867f809427945c1163cf020bfb0bbbba2

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ba29452cee35f297c22c50f33561a67ba3294cf0256cdb78bf71538daf130a65
MD5 10a9c802810b329ad654460c248820be
BLAKE2b-256 67bff9a8b7b771567d1f20bab29e64357f258a6799cb588875b22de9b4044df1

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 818521ab2c59bfd5f35c2354a0e93058cdadb49c31cdfeabe70e2ca0bef78584
MD5 9163c8753e5775953ec9265a44cc7303
BLAKE2b-256 1d67f90ea045eef284e2479861bc48c58cbac9fd28ce1ba58ea3195bea3997d2

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.11-cp310-cp310-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.11-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 f9d3007650384dfc6feca60e27890f48e219aca6e01965a0011dadc3d5a1c583
MD5 48690ba36d89b975d64f086f7c8162f3
BLAKE2b-256 14eef0f51a5c870c955ddb4232dea34aa4b34ca447bf0605c4fbc5dd6337428c

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