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

Bug fixes:

  • fixed bugs related to process tree management.

User-interface enhancements:

  • enhanced release check using SSL for reliable retrieval of the latest version.

Distribution:

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

Portable executable

Download a prepackaged, portable build of PaIRS_UniNa 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.6-cp313-cp313-win_amd64.whl (10.3 MB view details)

Uploaded CPython 3.13Windows x86-64

pairs_unina-0.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.6-cp313-cp313-macosx_10_13_universal2.whl (12.2 MB view details)

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

pairs_unina-0.2.6-cp312-cp312-win_amd64.whl (10.3 MB view details)

Uploaded CPython 3.12Windows x86-64

pairs_unina-0.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.6-cp312-cp312-macosx_10_9_universal2.whl (12.2 MB view details)

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

pairs_unina-0.2.6-cp311-cp311-win_amd64.whl (10.3 MB view details)

Uploaded CPython 3.11Windows x86-64

pairs_unina-0.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.6-cp311-cp311-macosx_10_9_universal2.whl (12.2 MB view details)

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

pairs_unina-0.2.6-cp310-cp310-win_amd64.whl (10.3 MB view details)

Uploaded CPython 3.10Windows x86-64

pairs_unina-0.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pairs_unina-0.2.6-cp310-cp310-macosx_10_9_universal2.whl (12.2 MB view details)

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

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0493aa5607a6a00d915e4fcd0ad4022dafccb7a448ee3eb837a0ac2361a1e117
MD5 a8f66a007a53afcf928c860f650188ae
BLAKE2b-256 d28f171d6b9f74c4977ad24ceba0d5c06840f1408815e7f398352b4183435d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 499260a142b1026bc120e8caf4162eb3a9b08ce1cecc0668a289f7f9519a091b
MD5 cdedc38f4397a97b0f781bf23419e6e3
BLAKE2b-256 89ce81924ba04e156edadad0b8c37431d5704f0e04d03f36a146ad90c3cc9aad

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.6-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 df39fa5eaff9799138143f5d6f5b17e875d618a0541170add3ca17df52907f4e
MD5 f8c611d616f50283f74ef1f00788bb09
BLAKE2b-256 4bfbd3d4fba24dca764c58a9c47bf09e13698072917c6d7be03b519629f9963c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e5368f23065e38853bfe52e68162fb30497950521c48462f5d2210bad598876c
MD5 fc39acdad11244c838fd9ff833383291
BLAKE2b-256 ee02db60256cf0deffa8ecec827ee4d09110eec9214e9a466e94865bb79a5492

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d18c88493777c1f5ceefe39964536774ddaa3148f1242ad05e8803380fa98d97
MD5 fb28efc48e8c6da51f34c666d6f7be4b
BLAKE2b-256 209d6c6205e9c0644bb8d5011adfe8c578e81541e06e9b9a3f7072ad54c74709

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.6-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 32e3917e601d4ce4a2eb2c86cca55f51dc4934130608b0a5b605e11c68025de8
MD5 f99be43b66f249e61a1185526b3a8f2e
BLAKE2b-256 31c6a24013d80af0912ab8e2c1f2364c3443a6a1955e35562f016ad4af532afb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 446bd2eb7c13ae8020aa75c8f4b0299f82e7381135244f72d2fdbda88671bc01
MD5 0ed0b93478c9a43c70b4dccc73b4b3f2
BLAKE2b-256 b79b2e3f35eda77a878e27be1112e97d003f702341616e38b4c0413526bb8bd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e287f61d7d93d6aeffc88009772434110fb470ac975f3b4230e404cebba4168d
MD5 e5246acb76f9654c553b946933b0236b
BLAKE2b-256 a6b142297970a033c0a11edd06c4e0f31e1c4e6f1114f6cbbaef9d7128655c82

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.6-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6c8f73129fcff245ddcc8e9665a76a999e603626897744f66c5cb0d47160c689
MD5 d346a8cbcb1ab54ca248b6b12b8f829a
BLAKE2b-256 c2f3a787a818eaa650940cdbfd6593e0039ce664cea3f38a755a5317aac600e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3b07a337533e2ca4b83d4c689d1c3f9b7b6d4c4799c199ad263e5b7912e10630
MD5 6dc1b0069755c13aa7105e1d18855df6
BLAKE2b-256 010aea4a653c2ab184b40eacd497dcafa7edee7c72801e037e392abb7271a113

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 796c34f5fa2a0e5af2a1783984336e494ac4f32a3722c169c394c676b8f77af8
MD5 571171afd216e0c9d09d945e702c632b
BLAKE2b-256 2230a9a63003a24f05928112e236ab624d5bd13d40049bb5d898df65562fcf9c

See more details on using hashes here.

File details

Details for the file pairs_unina-0.2.6-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pairs_unina-0.2.6-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 829b44947d8074f0decd0cfbea2d922e76fb68743ce0c4fb6a4bfe7830c854be
MD5 68a4ff4ce73e93fe0e109f96d8dbb303
BLAKE2b-256 8f27bdee767cec9cfe1397a75fa4755e2b7ab5ed3bd5c6af8739fb6aafb00889

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