scherrer_size — DRIVE pxrd op

• 数据种类:scalar × scalar × scalar → scalar

• 调用: import fullseye as fs; fs.ledger.scherrer_size(fwhm, two_theta, wavelength, K=0.9, instrumental_fwhm=0.0, combine='gauss')(要直接调用实现,import pxrd; pxrd.scherrer_size(fwhm, two_theta, wavelength, K=0.9, instrumental_fwhm=0.0, combine='gauss');从台账取用则 opsdrive.get("scherrer_size"))

用法

用 Scherrer 公式求微晶尺寸 [Å] (L = K λ / (β cos θ))。

fwhm、instrumental_fwhm 为 2θ 的半高全宽 [deg],two_theta [deg],wavelength [Å]。样品引起的展宽 β 在 combine="gauss" 时为 sqrt(fwhm² − inst²),在 "lorentz" 时为 fwhm − inst。传入数组则返回数组。Scherrer 公式是 按体积加权的柱长 的估计,不区分应变展宽(与 tan θ 成正比)—— 怀疑存在应变时,应像 Williamson–Hall 那样用多个峰考察对 tan θ 的依赖。

Raises ValueError: fwhm <= instrumental_fwhm(峰比仪器更窄 = 无法确定尺寸)、非正值、拼写错误。

参考(示例数据、文献)

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

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

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

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

• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py

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

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

同类别(pxrd)

cif_read · cubic_prototype · powder_reflections · 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.