yantra/purnanka-parashara-advanced.js
प्रमाण: पाठ BPHS (aṣṭakavarga, ārūḍha) and Jaimini (cara-kārakas) · गणित · D11: served as computation, never as prediction
454 lines · 10 exports
The header, as the file states it
What it loads
What it exports
ASHTAKAVARGA_RULESRASHI_GUNAKARASGRAHA_GUNAKARASRASHI_LORDScomputeAshtakavargacomputeArudhaPadasCHARA_KARAKA_NAMEScomputeJaiminiCharaKarakasREQUIRED_SHADBALA_RUPAScomputeShadbalaSS verses named in the header
none in the registry
The channels it runs in
Every function, what it calls, who calls it
4 top-level functions read from the source; the doc line is the comment above each; calls and callers are resolved across the registry’s modules by name. Line numbers are the file’s at engine 3f94072.
Computes the complete 8-planet Ashtakavarga charts. @param {Object} planetarySigns - Mapping of planet names ('sun', 'moon', etc., plus 'lagna') to their 0-indexed rāśi [0..11]. @returns {Object} Complete Ashtakavarga matrix and metrics.
Computes all 12 Arudha Padas (A1 to A12, including AL and UL). Canonical Rule: Let House H be occupied by sign S_H. Lord of S_H is at sign S_L. Distance D = (S_L - S_H + 12) % 12. Initial Arudha A = (S_L + D) % 12. Exception (BPHS 29.4–29.5): the pada may fall neither in the house itself nor in its 7th — - lord in the 1st or 7th (D = 0 or 6, pada would land in the house): A = 10th from the house;
Computes Jaimini 7 Chara Karakas based on planetary degrees in signs [0, 30°). @param {Object} planetaryDegrees - Mapping of 7 planets to their absolute degrees [0, 360). @param {Object} navamshaSigns - Optional mapping of planets to Navamsha signs [0..11].
Parāśara ṣaḍbala — BPHS adhyāya 27, delegated to parashara-shadbala.js (the full six balas by the text). Accepts the orchestrator's graha map (Sun/Moon… or sun/moon…, with trueLongitudeDeg|spashtaDeg, and when available the SS mean / mandaspaṣṭa / śīghrocca in degrees) plus the context the text needs (lagna, madhya-lagna, ayanāṃśa, ahargaṇa, iṣṭakāla, dinamāna, vargas). 1 rūpa = 60 virūpas.