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)।

चरण 0 में केवल पृष्ठभूमि है। प्रत्येक चरण में अभी तक न चुनी गई प्रावस्थाओं को एक-एक कर जोड़कर 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.