visualise opflow2d → rgbimport fullseye as fs; fs.ledger.piv_streamline_image(flow, upsample=8, background=None, color=(0.08, 0.08, 0.12), width=1.5, arrows=True, **stream_kw) (実装を直接呼ぶなら import pivops; pivops.piv_streamline_image(flow, upsample=8, background=None, color=(0.08, 0.08, 0.12), width=1.5, arrows=True, **stream_kw)、台帳から引くなら opspiv.get("piv_streamline_image"))流線図(MATLAB の streamslice)。返りは (h*upsample, w*upsample, 3)。
:func:piv_streamlines の等間隔配置で線を引き、各線の弧長の中ほどに
向きの矢じりを 1 つ置く(LIC と違って前後が読める)。線の間隔が揃うので、
線の密度では速さを表さない —— 速さを見たいときは background に
piv_flow_magnitude か色相図を敷く。
Args:
flow: (2, h, w)。
upsample / background / color / width: :func:piv_quiver と同じ。
arrows: 矢じりを置くか。
**stream_kw: :func:piv_streamlines へ素通し(separation など)。
Returns:
(h*upsample, w*upsample, 3) float64、値域 [0, 1]。
py -3.11 examples/piv_field_analysis_tour.pyrgb を入力に取れる)—
visualise)piv_flow_to_rgbimage · piv_line_integral_convolution · piv_streamlines · piv_quiver
Provenance: pivops.py — PIV operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.