phase_peel — DRIVE pxrd op

• Data kinds: signal × signal × table → table

• Call: import fullseye as fs; fs.ledger.phase_peel(two_theta, intensity, dictionary, max_phases=None, min_gain=0.05, min_fraction=0.005, background_order=4, sigma=None) (implementation को सीधे call करना हो तो import pxrd; pxrd.phase_peel(two_theta, intensity, dictionary, max_phases=None, min_gain=0.05, min_fraction=0.005, background_order=4, sigma=None), registry से लेना हो तो opsdrive.get("phase_peel"))

उपयोग

मिश्रण से phase को 1-1 करके छीलता है (greedy forward selection)।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

段 0 は背景だけ。各段で、まだ選んでいない相を 1 つずつ足して phase_fractions を当て、rwp が最も下がる相を選ぶ。rwp の相対的な下がり幅が min_gain 未満、または選んだ相の重量分率が min_fraction 未満なら止める。

全部の相を一度に当てる phase_fractions と違い、「どの順で、どれだけ説明が進んだか」が残る(図の素材)。

返り値(dict): order(選んだ順の名前)・stages(各段の phases・weight_fraction・fit・residual・ rwp)・final(最後の段の phase_fractions の結果)。

Raises ValueError: phase_fractions と同じ。min_gain が [0, 1) の外。

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py

वे अगले ops जिनसे type जुड़ता है (table को input के रूप में लेते हैं)

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

इसी category के (pxrd)

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


*Provenance: pxrd.py — DRIVE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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