debye_ring_image — DRIVE pxrd op

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

• 调用: import fullseye as fs; fs.ledger.debye_ring_image(phases, weight_fractions, geometry, shape=(512, 512), size=inf, K=0.9, instrumental_fwhm=0.02, counts=20000.0, background=0.03, polarization=0.0, lorentz='powder', supersample=2, lattice_scales=None, seed=0, step=0.002, eta=0.0)(要直接调用实现,import pxrd; pxrd.debye_ring_image(phases, weight_fractions, geometry, shape=(512, 512), size=inf, K=0.9, instrumental_fwhm=0.02, counts=20000.0, background=0.03, polarization=0.0, lorentz='powder', supersample=2, lattice_scales=None, seed=0, step=0.002, eta=0.0);从台账取用则 opsdrive.get("debye_ring_image"))

用法

合成德拜环的 2 维探测器图像(附各物相的贡献)。

相 p 单位立体角的强度 ∝ vₚ (1/Vₚ²) Σ m|F|² L(2θ) × 形(体积分数 vₚ ∝ Wₚ / ρₚ),峰宽由 Scherrer (size [Å],也可为按相的 list,inf = 无展宽)与仪器 FWHM(instrumental_fwhm [deg])按高斯叠加。像素值 = 强度 × 偏振 P(2θ, χ) × 相对立体角 + 平坦背景(background × 最大强度,同样含立体角)。像素为 supersample² 个点的平均(自然地包含像素宽度造成的展宽)。若 counts 为数值,则将最大值对齐到 counts 并加 Poisson 噪声(seed),None 则无噪声。lattice_scales 为各相的晶格倍率(模拟热膨胀、固溶)。eta 为峰形中 Lorentz 的比例(pseudo-Voigt,0 = 高斯)—— 用于以与字典不同的峰形合成,测量峰形误设的影响。

返回值(dict): image((H, W) float,计数)、per_phase((P, H, W),无噪声的各相贡献)、background ((H, W))、names、weight_fractions、volume_fractions、two_theta(像素中心的 2θ)、geometry。

Raises ValueError: 相与分数的数量不一致、分数为负或总和为 0、几何参数不全、图像过小。

参考(示例数据、文献)

• 示例数据目录(下载 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 · detector_two_theta · detector_calibrate · azimuthal_integrate · diffraction_peaks


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

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