pxrd opscalar × scalar × scalar → scalarimport 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(装置より細い山 = 径が決まらない)、非正の値、綴り違い。
py -3.11 examples/poc_pxrd_phase_peel.pyscalar を入力に取れる)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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.