phase_dictionary — DRIVE pxrd op

• Data kinds: any × signal × scalar → table

• Call: import fullseye as fs; fs.ledger.phase_dictionary(phases, two_theta, wavelength, size=inf, K=0.9, instrumental_fwhm=0.02, lorentz='powder', eta=0.0) (to call the implementation directly, import pxrd; pxrd.phase_dictionary(phases, two_theta, wavelength, size=inf, K=0.9, instrumental_fwhm=0.02, lorentz='powder', eta=0.0); from the registry, opsdrive.get("phase_dictionary"))

Usage

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

相の参照パターンの辞書: 2θ の格子の上に、体積分率 1 あたりの 1-D 強度を相ごとに並べる。

1 行 = `(1/V²) Σ m|F|² L(2θ) × 形(形は Scherrer の size` [Å] と装置の FWHM をガウスで足した幅の pseudo-Voigt、

`eta は Lorentz の割合)。instrumental_fwhm は数 [deg] か (2θ の列, FWHM の列)` の表 —— 平らな検出器では画素の

張る角が `cos² 2θ` で縮むので装置の幅は 2θ で変わる。広がりの無い標準(Si)の像を同じ幾何で積分し、

:func:diffraction_peaks の FWHM を表にして渡すのが筋(PoC の手順)。:func:azimuthal_integrate を偏光・立体角の補正つきで回したプロファイルと同じ量に揃う。

幅が合っていないと NNLS の倍率が偏る —— :func:diffraction_peaks の FWHM と :func:scherrer_size で `size` を

先に見積もるのが筋。

返り値(dict): `names・two_theta・matrix((P, n))・density [g/cm³]・phases`(元の相、格子の追い込みで

描き直すため)・`params`(波長・幅・Lorentz)。

Raises ValueError: 相が空・相の形でない、名前の重複、格子が増えない、幅の値が不正。

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)

• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (pxrd)

cif_read · cubic_prototype · powder_reflections · scherrer_size · debye_ring_image · detector_two_theta · detector_calibrate · azimuthal_integrate


*Provenance: pxrd.py — DRIVE 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.