DPIVSoft documentation¶
Open, vendor-neutral, GPU-accelerated classical PIV (Particle Image Velocimetry). The documentation has three layers: the User guide gets you from installation to a first (stereo) measurement; the Theory pages explain the implemented methods – the PIV algorithm, its OpenCL parallelisation, stereo calibration and 3C reconstruction, and vorticity-based force estimation – with their derivations and practical notes; the API reference is generated directly from the NumPy-style docstrings in the source, so editing a docstring and rebuilding updates the corresponding page.
User guide
Theory
- The PIV algorithm
- 1. What PIV measures
- 2. Algorithm at a glance
- 3. Normalized cross-correlation of one window
- 4. Finding the peak with sub-pixel accuracy (
find_peaks) - 5. Multi-pass processing with window deformation
- 6. Validation: the median filter
- 7. Masks (solid regions)
- 8. Parameters
- 9. Practical use (CPU path)
- 10. Function reference
- References
- The OpenCL (GPU) implementation
- Stereo PIV: calibration & 3-component reconstruction
- 1. The core idea
- 2. Coordinate conventions
- 3. The two calibration models
- 4. Fitting the calibration (
stereo_calibration) - 5. The local mapping Jacobian
- 6. Soloff 3C reconstruction (
soloff_velocity) - 7. Model dispatch
- 8. When does the full model help?
- 9. World grid & dewarp
- 10. Disparity / \(\Delta z\) self-calibration
- 11. File format (
.npz) - 12. Function reference
- References
- Force estimation from PIV fields
- 1. Why compute forces from vorticity?
- 2. Notation and inputs
- 3. Computing the vorticity field
- 4. Method 1 — the vortical impulse method (
ImpulseMethod) - 5. Method 2 — the projection method (
ProjectionMethod) - 6. The FEM machinery (
meshTools.py) - 7. Choosing between the two methods
- 8. Function reference
- References
API reference
- dpivsoft.DPIV
- dpivsoft.Cl_DPIV
- dpivsoft.Classes
- dpivsoft.Postprocessing
- dpivsoft.SyIm
- dpivsoft.stereo_DPIV
rgb2gray()stereo_calibration()_poly9_design()_poly19_design()_fit_poly9()_fit_poly19()_is_full_poly()_poly9_eval()_poly9_jacobian()_poly19_eval()_poly19_jacobian()_poly_eval()_poly_jacobian()_stereo_recon_grid()soloff_velocity()save()make_world_grid()backproject_image()list_images()download_pivchallenge_E()backproject_folder()compute_disparity()build_disparity_maps()disparity_to_delta_z()delta_z_on_world_grid()disparity_convergence_report()calibration_GUI()
- dpivsoft.stereo_gui
- dpivsoft.meshTools