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.