spectral_xray op• Data kinds: pairs → table
• Call: import fullseye as fs; fs.ledger.photon_counting_channels(spectrum, thresholds_kev=(20.0, 50.0), detector: 'str' = 'CDTE', detector_mm: 'float' = 2.0, energy_resolution_fwhm_kev: 'float' = 0.0, charge_sharing: 'float' = 0.0, upper_kev=None) -> 'dict' (to call the implementation directly, import dualxray; dualxray.photon_counting_channels(spectrum, thresholds_kev=(20.0, 50.0), detector: 'str' = 'CDTE', detector_mm: 'float' = 2.0, energy_resolution_fwhm_kev: 'float' = 0.0, charge_sharing: 'float' = 0.0, upper_kev=None) -> 'dict'; from the registry, opstomography.get("photon_counting_channels"))
Energy windows of a photon-counting detector → channels (one count per photon).
> The detailed description below is the original text — the summary and the headings are translated.
thresholds_kev = (T₁, T₂, …): チャネル c は堆積エネルギーが [T_c, T_{c+1}) の光子を数える(最後の窓の上限は upper_kev、既定は無限大)。検出器の応答:
• 吸収効率 1 − e^{−μ d}(detector の X 線の列、既定 CdTe 2 mm)。
• エネルギー分解能: 堆積エネルギーに FWHM energy_resolution_fwhm_kev のガウスのぼけ。
• 電荷共有: 割合 charge_sharing の光子は電荷の一部しか集まらず、堆積エネルギーが [0, E] に一様に散らばる(低いエネルギーへの尾。1 画素の中の模型で、隣の画素への二重計数は入れない)。
返り値: dict(energy_kev, weights (C, K) = 入射光子 1 個がチャネル c に数えられる確率 × スペクトルのビンの重み, gain = 1(計数), mode = "counting", labels, thresholds_kev, response)。窓が 1 つも光子を拾わないときは ValueError。
• 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.
• poc_dual_energy_xray — py -3.11 examples/poc_dual_energy_xray.py
table as input)—
spectral_xray)material_xray_table · material_xray_attenuation · material_xray_constants · material_effective_z · xray_tube_spectrum · xray_beam_quality · dual_kvp_channels · xray_channel_projection
*Provenance: dualxray.py — TOMOGRAPHY 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.