pxrd op• 数据种类:table × scalar → table
• 调用: import fullseye as fs; fs.ledger.powder_reflections(phase, wavelength, two_theta_max=90.0, lorentz='powder', lattice_scale=1.0, include_extinct=False, rel_cutoff=1e-10)(要直接调用实现,import pxrd; pxrd.powder_reflections(phase, wavelength, two_theta_max=90.0, lorentz='powder', lattice_scale=1.0, include_extinct=False, rel_cutoff=1e-10);从台账取用则 opsdrive.get("powder_reflections"))
物相的粉末衍射峰列表:晶面间距 d、Bragg 2θ、多重度、|F|²、强度(含 Lorentz 因子,不含偏振)。
枚举直到 2θ <= two_theta_max 的所有 (h, k, l),计算结构因子 F = Σ occ f₀(s) exp(−B s²) exp(2πi h·x),并将相同 d、相同 |F|² 的反射合并为 1 条(多重度 m)。粉末中相同 d 的反射无法区分,因此 d 相同但 |F|² 不同的族(如立方晶的 333 与 511)保持为不同的行,排在相同的 2θ。lattice_scale 把所有晶格常数乘以该倍率(模拟热膨胀、固溶。phase_fractions 的格子精修会用到)。include_extinct=True 时也保留 |F|² 小于最大值 rel_cutoff 倍的(消光的)反射(带 extinct=True 标记)。强度 = m |F|² L(2θ)(lorentz: "powder" = 1/(sin² θ cos θ)、"none")。偏振以 azimuthal_integrate 会将其除回为前提,不计入。
返回值(dict): hkl(代表,(n, 3) int)、d [Å]、two_theta [deg]、multiplicity、F2、intensity、extinct(bool),按 2θ 升序。也复制 name、volume、density。
Raises ValueError: 不是相的形式、波长非正、two_theta_max 在 (0, 180) 之外、Lorentz 拼写错误。
• 示例数据目录(下载 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 · scherrer_size · debye_ring_image · 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.