fullseye

detector_two_theta — DRIVE pxrd op

使い方

検出器の各画素の 2θ・方位 χ・相対立体角(傾き・距離・中心つき)。

shape = (H, W)、geometry は module の 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。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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