pxrd op• 資料種類:image2d × table → table
• 呼叫: import fullseye as fs; fs.ledger.azimuthal_integrate(image, geometry, n_bins=None, two_theta_range=None, mask=None, solid_angle=True, polarization=None, chi_range=None, supersample=2)(要直接呼叫實作,import pxrd; pxrd.azimuthal_integrate(image, geometry, n_bins=None, two_theta_range=None, mask=None, solid_angle=True, polarization=None, chi_range=None, supersample=2);從台帳取用則 opsdrive.get("azimuthal_integrate"))
將 2 維偵測器影像歸約為 2θ 的 1 維剖面(方位角積分,含遮罩與校正)。
將每個像素分成 supersample² 個子像素(值均分),以子像素中心的 2θ 分配到各 bin,再對每個 bin 取 平均 (減少因像素劃分粗糙造成的條紋)。solid_angle=True 時除回相對立體角;polarization 為數值(0 = 非偏振, 1 = 水平偏振)時除回偏振因子,皆在取平均之前。mask 為 True 的像素會 排除(相同形狀的 bool)。chi_range = (χ₀, χ₁) [deg] 時只積分扇形(χ 為 atan2 的 (−180, 180])。非有限的像素若不在 mask 中則拒絕。
n_bins 的預設值是使寬度為單一像素角度一半的數量(0.5·pixel/distance [rad])。回傳值(dict): two_theta(bin 中心 [deg])、intensity(平均)、count(子像素權重的和,為 0 的 bin 其 intensity 為 nan —— 不填補)、sigma(假設 Poisson 的平均標準誤差)。
Raises ValueError: 非 2-D、mask 形狀不一致、非有限像素、範圍為空、扇形為空、bin 數 < 8。
• 範例資料目錄(下載 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 · debye_ring_image · detector_two_theta · detector_calibrate · diffraction_peaks
*Provenance: pxrd.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.