angles_to_normals — REPRCONV direction op

• Data kinds: pairs → normals

• Call: import fullseye as fs; fs.ledger.angles_to_normals(pairs) (implementation को सीधे call करना हो तो import reprconv; reprconv.angles_to_normals(pairs), registry से लेना हो तो opsreprconv.get("angles_to_normals"))

उपयोग

azimuth/elevation जोड़े (N,2) [degree] → unit normal (N,3)। pairs से निकास।

normals_to_angles का सटीक inverse (unit length पर normalise करने के अर्थ में)। [-90, 90] के बाहर की elevation अस्वीकार की जाती है -- 100 degree की elevation "उलटी ओर की 80 degree" में मुड़कर विश्वसनीय दिखते हुए ग़लत हो जाती है, इसलिए उसे चुपचाप स्वीकार नहीं किया जाता।

Args:

pairs: (N, 2) [azimuth degree, elevation degree], या समान लंबाई वाले 2 1-D array का tuple।

Returns:

(N, 3) float64, हर row unit length।

Raises:

ValueError: shape ग़लत / non-finite / elevation [-90, 90] के बाहर।

संदर्भ (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 करते हैं)

• representation_roundtrip — py -3.11 examples/representation_roundtrip.py

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

normals_to_angles · normals_to_egi

इसी category के (direction)

normals_to_angles · normals_to_egi


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

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