fullseye

retardation_unwrap_multiwavelength — OPTICS photoelastic op

使い方

複数波長の巻いた位相差から絶対位相差(nm)を決める(分散なしの仮定)→ dict。

The retardation R = t·Δn [nm] is assumed independent of wavelength (no dispersion of C). For each pixel, every candidate from the first wavelength, R = (k + f)λ1 (and (k + 1 − f)λ1 when folded, f = δ1/2π), up to max_retardation_nm, is scored by how well it predicts the measured phase at every other wavelength (residual in nm); the best candidate wins.

folded=True is for phases in [0, π] that cannot tell δ from 2π − δ (:func:photoelastic_phase_estimate with stokes6); folded=False is for phases wrapped into [0, 2π).

Returns retardation_nm, delta_rad (the unwrapped phase at the first wavelength), residual_nm (best score), margin_nm (second best − best, among candidates more than λ_min/4 away from the answer: when it is small another order fits almost as well — add a wavelength or reduce max_retardation_nm) and valid: False where no candidate up to max_retardation_nm exists for that pixel (its first-wavelength phase alone already needs more), and the four numbers are NaN there.

Raises ValueError: fewer than 2 wavelengths, mismatched counts or shapes, wavelengths outside [10, 20000] nm or repeated, phases outside [0, π] (folded) / [0, 2π) (unfolded), a range over 1000 waves, or a max_retardation_nm below the smallest candidate of every pixel.

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(photoelastic)

brazilian_disc_stress · kirsch_plate_stress · principal_stress · retardation_from_birefringence · photoelastic_retardation · retardation_convert · cubic_photoelastic_birefringence · silicon_piezo_optic_coefficients


Provenance: photoelastic.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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