piv_vorticity — PIV field op

Data kinds: flow2dimage2d

Call: import pivops; pivops.piv_vorticity(flow, spacing=1.0) (or opspiv.get("piv_vorticity"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

渦度 `d(dx)/dy - d(dy)/dx`。反時計回りが正(画像座標での定義)。

行が下向きに増える画像座標では、数学の xy 座標と上下が逆になる。この符号を

決めずに書くと渦の向きが黙って反転するので、定義を docstring に固定する。

Args:

flow: `(2, h, w)`。

spacing: 隣り合うベクトルの間隔 [px] (`info["step"]`)。

Returns:

`(h, w)。単位は 1/フレーム(spacing` が画素なら)。

Detailed usage guide

piv_displacement family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

piv_flow_from_particlespy -3.11 examples/piv_flow_from_particles.py

Ops the type connects to (they accept image2d as input)

piv_cross_correlate · piv_multipass · piv_deform_pass · strain_from_displacement · correlation_quality · speckle_quality

Same category (field)

piv_divergence · piv_flow_magnitude · piv_to_velocity · piv_velocity_gradient · piv_q_criterion · piv_swirling_strength · piv_strain_rate


*Provenance: pivops.py — PIV operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.