phase_dictionary — DRIVE pxrd op

• 数据种类:any × signal × scalar → table

• 调用: 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)(要直接调用实现,import pxrd; pxrd.phase_dictionary(phases, two_theta, wavelength, size=inf, K=0.9, instrumental_fwhm=0.02, lorentz='powder', eta=0.0);从台账取用则 opsdrive.get("phase_dictionary"))

用法

> 该算子的说明尚无译文,以下照原文给出。

相の参照パターンの辞書: 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: 相が空・相の形でない、名前の重複、格子が増えない、幅の値が不正。

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者・年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py

类型可衔接的下一个算子(可接受 table 作为输入)

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

同类别(pxrd)

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


*Provenance: pxrd.py — DRIVE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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