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 维强度。
1 行 = (1/V²) Σ m|F|² L(2θ) × 形(形为以 Scherrer 的 size [Å] 与仪器 FWHM 按高斯相加的宽度的 pseudo-Voigt, eta 为 Lorentz 比例)。instrumental_fwhm 为数值 [deg] 或 (2θ の列, FWHM の列) 的表 —— 平板探测器上像素张开的角度按 cos² 2θ 缩小,因此仪器宽度随 2θ 变化。正确做法是将无展宽的标准样(Si)的像以相同几何积分,
把 diffraction_peaks 的 FWHM 做成表传入(PoC 的步骤)。与用 azimuthal_integrate 加偏振、立体角校正运行得到的剖面为同一物理量。宽度不匹配时 NNLS 的倍率会偏 —— 正确做法是先用 diffraction_peaks 的 FWHM 和 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.