detector_two_theta — DRIVE pxrd op

• Data kinds: any × table → table

• Call: import fullseye as fs; fs.ledger.detector_two_theta(shape, geometry) (to call the implementation directly, import pxrd; pxrd.detector_two_theta(shape, geometry); from the registry, opsdrive.get("detector_two_theta"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

検出器の各画素の 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`。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py

Ops the type connects to (they accept table as input)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (pxrd)

cif_read · cubic_prototype · powder_reflections · scherrer_size · debye_ring_image · detector_calibrate · azimuthal_integrate · diffraction_peaks


*Provenance: pxrd.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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