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

Bug fixes:

  • Fixed an issue affecting the Edit list functionality of the image-tree in the Input tab.
  • Improved the reliability of the assessment of the PIV process stability.

User-interface enhancements:

  • Applied minor UI refinements to provide clearer visual feedback during user interactions.
  • Improved visualization of contextual help messages across the interface.
  • Enhanced management and restoration of global settings when loading previously saved workspaces.

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

Uploaded CPython 3.13Windows x86-64

pairs_unina-0.2.10-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.10-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.10-cp312-cp312-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pairs_unina-0.2.10-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.10-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.10-cp311-cp311-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pairs_unina-0.2.10-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.10-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.10-cp310-cp310-win_amd64.whl (11.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pairs_unina-0.2.10-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.10-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.10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4499bfca6a7e1d1e5d3f803c06a394e42f33e5ddb1961793925c140965920690
MD5 b3316d5cb07ebe57bafc1728d670b072
BLAKE2b-256 da3a13964ee903eaca60c98dbdde1852fc33eeb98128b26db9c4b5145c7ffcac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a58eae9723e239be90158139ab153a8d25711e605a5cf79ca9ab29977f2addfd
MD5 ac5e726dabbe421b8d627af993d5cf82
BLAKE2b-256 02a3f2725bed5b1e8ae337458424ee4eddcd5ceae991bae0effe5faa6fb73a30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 bbe98886ceb0281250a7bf0a260d86e0c573bfd4b3ac1bc2047dd7a99fb30a87
MD5 f93d8401bed29700b3e885cd15799d1f
BLAKE2b-256 6a8b8a0067cfa0fed0a1ca99d4c00535f7c7ed0ea89f06bb809086a687369e2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1bb3e9b0575ca5003373e306b48599e286a56a62f8fd9f3e16854c966524ae7c
MD5 786956eaa762e2fa8c375c2b9424705e
BLAKE2b-256 5e79b59aee7dfa76579d7120ab4e29650e2f369b4cb98aeb78f9c827a6cbacd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69317494c0d64011f41d3d0193f69aa1c8979a175f585934704f066a7642dc58
MD5 9e6123ca17e996e08e182d57a0c94418
BLAKE2b-256 f34a4ce5649df0e4fa9426245637011d81e7da4d44e7c7fa57971d044fd1d41b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 41f1d95cec81da76ec7a54e2ed45456ed9a04ec0ac174352a62ba8fc2430eb60
MD5 42e73edd22d21b1471e3ebda9e88a8ba
BLAKE2b-256 189510b82c9f389a7419dae669503a6aab75be8eae76afe8c6c2b4f86a3ad804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 63744d0f5ffd8d5035cc68a26c5214275e2a804cbada225a7e488b72e6d56974
MD5 ae4f8880b70ff92f8f2e31ce2e9c4a58
BLAKE2b-256 50b5d24fbbafddd57c160bf2acfd453b5b21acda48e076f8ae3549e35e51d33e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56bfe3bc0a15b5a77e5cea4eb205de5b401fcb9cbbf8a4c9163d93688ccc1780
MD5 494e7572eb622c0a4f315b0814cfc57f
BLAKE2b-256 bbe38e2dd85d086e90fcc2b041fa953dcd2d3270b0d4cd54902f654033377eea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 f29977a7aed81bbc3c3a64e6e124dd74b56c87a99df27884b97fffbb4eec8757
MD5 a999b02dfffee32bbabfa04fbc7ca0c6
BLAKE2b-256 f706e61efe310c34ef739be245dbe0f7d695c4ec07518f34399bfefcfa78f55d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d0557f832e19441dab0085dd6433b66b76e76f7b71509350050d40d9593c071c
MD5 8448b8e3d08e4d767177596dd423f645
BLAKE2b-256 dd4f192735786832ff827b39455e907a618d0e809c1521066d343d3a683570c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1bd15a96ce757064715411b4dd141d61ad4aa83499fa1eed52290bdbe612d20e
MD5 50e08365db4ebe4ef827c647f476bd7d
BLAKE2b-256 f5e8c079607843169a53228ca0244cd67065c8825ea25d4d2dd3e53ceb6f1975

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.10-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 083f29019cd50e03f46c0f0e527f7ebac2ac6e97100dd29d8cb8e05cf7e8652f
MD5 6348c525bf9d8c53b4bdbb8a5b96376d
BLAKE2b-256 7a68b8ebcb7f6bd391bc60977c02be01be1ebc4aec056aa32dd8349441b78705

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