pxrd op• Datenarten: signal × scalar → table
• Aufruf: import fullseye as fs; fs.ledger.cubic_index(two_theta, wavelength, lattices=('P', 'I', 'F', 'diamond'), tolerance=0.05, n_first=6, max_unindexed=0) (die Implementierung direkt: import pxrd; pxrd.cubic_index(two_theta, wavelength, lattices=('P', 'I', 'F', 'diamond'), tolerance=0.05, n_first=6, max_unindexed=0); aus dem Register: opsdrive.get("cubic_index"))
Indiziert die Peaks als kubisch und bestimmt das Gitter (P / I / F / diamond) sowie die Gitterkonstante a [Å].
> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.
1/d² = N / a² なので、1 本目の山に許される N の小さい方から n_first 個を当てて a を仮に決め、全部の山を最も近い許される N に割り当て、a を最小二乗で追い込み(割り当て → 追い込みを 2 回)、計算と観測の 2θ の差が tolerance [deg] 以内の候補だけを残す(外れる山が max_unindexed 本までなら、それを除いて残す —— 不純物や偽の山が 1 本混じっただけで全部を捨てないため。除いた山は unindexed に返す)。候補どうしは de Wolff の M 型の性能指数 M = Q_last / (2 ε̄ N_calc)(Q = 1/d²、ε̄ = |ΔQ| の平均、N_calc = 最後の観測線までに許される計算線の数) で比べる —— P は何にでも合うが計算線が多いぶん M が下がる。外した山がある候補は (指数の付いた割合)⁴ で割り引く(経験的な重み。強い山を捨てて計算線の少ない格子に逃げるのを防ぐ)。
返り値(dict): lattice・a・a_sigma(残差からの標準誤差)・two_theta(指数の付いた山)・hkl((n, 3))・ N・residual_deg(観測 − 計算)・fom・missing(範囲内で許されるのに観測に無い N の list)・unindexed (外した山)・candidates(全候補の要約)。当てはまる候補が無ければ lattice = None(立方晶でない・山の取り違え)。
Raises ValueError: 山が 2 本未満・非有限・(0, 180) の外、波長が非正、格子の綴り違い。
• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).
• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.
• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.
• poc_pxrd_phase_peel — py -3.11 examples/poc_pxrd_phase_peel.py
table als Eingabe)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_two_theta · detector_calibrate · azimuthal_integrate
*Provenance: pxrd.py — DRIVE Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.