detector_two_theta — DRIVE pxrd op

• 資料種類:any × table → table

• 呼叫: import fullseye as fs; fs.ledger.detector_two_theta(shape, geometry)(要直接呼叫實作,import pxrd; pxrd.detector_two_theta(shape, geometry);從台帳取用則 opsdrive.get("detector_two_theta"))

用法

偵測器各像素的 2θ、方位角 χ 與相對立體角(含傾斜、距離與中心)。

shape = (H, W),geometry 為模組 docstring 中的 Fit2D 型。回傳值(dict): two_theta [deg]、chi [deg] (atan2,+行為 0,+列為 +90)、solid_angle(在光束中心且傾斜 0 時為 1 的相對值,以 cos³ 下降)。2θ 以 atan2(hypot(Pₓ, P_y), P_z) 求得(使用 acos 會在 2θ → 0 附近出現捨入的底)。

Raises ValueError: 形狀不是 2 個正整數元素、幾何的鍵缺少或拼錯、|tilt| >= 60。

參考(範例資料、文獻)

• 範例資料目錄(下載 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_calibrate · azimuthal_integrate · diffraction_peaks


*Provenance: pxrd.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.