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.9

Bug fixes:

  • Corrected a bug in the vorticity computation caused by missing conversion of velocity gradients into correct physical units.
  • Corrected misalignment issues affecting output-variable maps and vector fields in Vis.
  • Fixed inconsistent path handling in the batch-folder copy and other modules by removing path relativization.

New features:

  • Sdded new options in the batch folder-copy tool to automatically skip image pairs with missing files and to re-scan destination folders, useful when image-set mismatches may be present.
  • Vis now automatically loads and displays the saved log file when opening past results under the specified output path and name root.

User-interface enhancements:

  • Improved naming of duplicated processes with consistent incremental suffixes.
  • Enhanced the Image Import Tool: minimum step is now 1 and the import button remains always active, showing a warning when no changes in the image list are detected.
  • Improved stability and behavior of path completers in the Input tabs.
  • In Vis, resizing and automatic level-reset settings are now applied individually per step rather than globally.
  • Added a calibration guidance dialog outlining the correct coordinate conventions for stereoscopic PIV and illustrating proper and improper setups.

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

Uploaded CPython 3.13Windows x86-64

pairs_unina-0.2.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.9-cp313-cp313-macosx_11_0_universal2.whl (13.6 MB view details)

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

pairs_unina-0.2.9-cp312-cp312-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pairs_unina-0.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.9-cp312-cp312-macosx_11_0_universal2.whl (13.6 MB view details)

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

pairs_unina-0.2.9-cp311-cp311-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pairs_unina-0.2.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.9-cp311-cp311-macosx_11_0_universal2.whl (13.6 MB view details)

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

pairs_unina-0.2.9-cp310-cp310-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pairs_unina-0.2.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.9-cp310-cp310-macosx_11_0_universal2.whl (13.6 MB view details)

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

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 614305c64dc9f64557c5f9a34f85e361ea456c4d29070d19fc6ea0a951542bef
MD5 672327cb5f6312a96c6f4e20feb7408c
BLAKE2b-256 b70cbacf311ee55abc30607ee618d93c68366e3e0b4ce70f4b66d01bac9d38cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff9cf25f5286c18c372e2bbf8577f3d5ca161ad3b3521c86a7b6c1fa0bcdf891
MD5 e7505ab21ad5e368e464a72495b2cd9e
BLAKE2b-256 85cef3d7f930e672bb7761b67ea64d8ed8cc81e10b915334a24507a7d8c93edc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 5265ff82a26b93b75d409dddba27331da2421c9276aef59e909001bb8c04f78a
MD5 67ac829a255eb0549cf57afba322ee51
BLAKE2b-256 4bb6e767e606be3cfd3bb48faf80252d4e32fd7e74e713d7c06c3cf092c26f55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d58158677d97747188084094643fc1295ce792b1477cd354cb8c3b2193416c76
MD5 fa8192e6489d796343d3965331967488
BLAKE2b-256 e90c3f505e231b0bf0fa33cb7a5cdd2970f8a72b6744cc79649d42aea3e327e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7d141b4de340ee2bc54ee780bf9b323e483348cb575aa1c6ac08839995c6e7b
MD5 bdf220aed54ca6920504e65d9f25d6eb
BLAKE2b-256 2013948a20e619f44045bbd4b249fcf047c725b37a2d9dbc9a5e91644140eb66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e45f62574c318438c9572c29f31427b9a84e825101c9005ca1aab0b78d6860e1
MD5 3ba755f5a8cdd76947e31d798656ea86
BLAKE2b-256 ece97c3798a9a1edc0d347cc70b7ab996a8ddb09c37af68813fc42e52571b453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3f11ed14334103034ac42a5bb8f98a6455c80a9aca32891d1d4884ce25256ef9
MD5 63469a00ca6b657661fd2dcbe8ac16d8
BLAKE2b-256 f7e90acc54b780ec3b7c6981bacaf62488a7e6a7b04fd0712994daeb1246e660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf35ad92d7d53459e8637f8ec631975c3cc71529277c33b7aea7ffa5b9c61376
MD5 fb3891a90dcca91b21e61ad88325b6a9
BLAKE2b-256 658b5aa6af4c8f000eb12c147a96c2391b3dc77236222cd57a1089b5c3e8859e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 08a8f3e91664d2442817064eba1771f0efaec54600179a6712d40bd5289a767c
MD5 381120d293c979601242581e02f92ecf
BLAKE2b-256 06108385ca8d1d76cf1a3eb1dd7ecd3064e23316549c4bc3e610e4f4edc561e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bca5ad306328da2d32eb7dd6345e91e09f289cbe804ba86b1e502e64697175aa
MD5 f7998d706183257e618da1666fcb8624
BLAKE2b-256 923cdb6f21c64b81618aa7b97b46f7aa263e74a4268d63be5d1f4af791e94606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ff6f0ad697ffacdd972ad8c27350b3dc6a19fc165054518e63a021cacad7514
MD5 4f9607efb3d70e58ef86d5278263c937
BLAKE2b-256 623ec55276a835b8cfe1eed852fa8ee76d15e434fbc466bf7842e9c754bbce06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.9-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 0a27e62018b209a75341a9596cd566b44602df403a9c57b008b1d179ffe46cd6
MD5 3702c7fa5c3a0cab01989d033903086c
BLAKE2b-256 1cfd7cef998f6a5f6c80bbba78000939f2093557a37f8c6bf2584aceeee47af9

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